Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string GitHash string // Dirty is set to "true" if current git working directory has // uncommitted changes. Dirty string // ReleaseTag is the tag that will be tagged on a released version ReleaseTag string )
Following variables are set by CI during compilation.
Functions ¶
func ReleaseString ¶
func ReleaseString() string
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
func NewTransport ¶
func NewTransport(base http.RoundTripper, appName string) *Transport
NewTransport creates a RoundTripper that appends User-Agent for the current application (e.g. nvca/1.0.0)
Click to show internal directories.
Click to hide internal directories.