Documentation
¶
Overview ¶
Package anonymousclient attaches a server-scoped pseudonym to community API traffic. It never creates network traffic or changes the caller's consent.
Index ¶
Constants ¶
View Source
const ClassHeader = "X-CSX-Client-Class"
View Source
const Header = "X-CSX-Anonymous-ID"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct {
Home string
Base http.RoundTripper
// Surface, Version and Protocol identify this csx build to its own
// server in the fixed apidemand.UserAgent grammar (#394), on requests
// to the configured server only. Empty Surface sends nothing. An
// existing User-Agent is kept, so a surface that wraps another surface's
// transport (the daemon started by the CLI) reports itself once.
Surface string
Version string
Protocol string
}
Click to show internal directories.
Click to hide internal directories.