Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// HTTP server configuration.
Server ServerConfig `json:"server"`
// RunService configures the internal run service client.
RunService serviceclient.ServiceConfig `json:"runService" pflag:",Internal run service client configuration"`
}
Config holds configuration for the Events service.
type ServerConfig ¶
type ServerConfig struct {
Port int `json:"port" pflag:",Port to bind the HTTP server"`
Host string `json:"host" pflag:",Host to bind the HTTP server"`
}
ServerConfig holds HTTP server configuration.
Click to show internal directories.
Click to hide internal directories.