Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "localhost:9090" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/api/v1" )
Variables ¶
View Source
var DefaultSchemes = []string{"http", "https"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type CNSIAPIs ¶
type CNSIAPIs struct {
Assessment *assessment.Client
Operations *operations.Client
Transport runtime.ClientTransport
}
CNSIAPIs is a client for k s i a p is
type Config ¶
type Config struct {
// URL is the base URL of the upstream server
URL *url.URL
// Transport is an inner transport for the client
Transport http.RoundTripper
// AuthInfo is for authentication
AuthInfo runtime.ClientAuthInfoWriter
}
Click to show internal directories.
Click to hide internal directories.