Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "localhost:8000" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/api/v1.0" )
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 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
}
type EventEngineManagementAPI ¶
type EventEngineManagementAPI struct {
EventManagement *event_management.Client
StatusManagement *status_management.Client
TriggerManagement *trigger_management.Client
UsageManagement *usage_management.Client
Transport runtime.ClientTransport
}
EventEngineManagementAPI is a client for event engine management API
func New ¶
func New(c Config) *EventEngineManagementAPI
New creates a new event engine management API HTTP client.
Click to show internal directories.
Click to hide internal directories.