Skip to content

kokizzu/uadeco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

uadeco

user-agent decorator, injector for http.DefaultClient and http. DefaultTransport, it would replace the User-Agent header with serviceName-time-rev-goVersion

usage:

package main

import "github.com/kokizzu/uadeco"

func init() {
	uadeco.InitServiceName("MyService1")
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages