Documentation ¶
Index ¶
Constants ¶
View Source
const (
CorrelationId string = "Correlation-ID"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Config ¶
type Config struct { // Listen address binding the api Listen string `json:"listen" yaml:"listen"` // Timeout is the time in minute until the watch for resource will be end Timeout int64 `json:"timeout" yaml:"timeout"` // Auth is a list of credentials // it should be content the username and password Auth []Auth `json:"auth" yaml:"auth"` // Hooks is a list of subscriber where to send the status // it should be respect the url format // example for kafka : // kafka://localhost:9092?topic=MY-TOPIC Hooks []Hook `json:"hooks" yaml:"hooks"` }
Click to show internal directories.
Click to hide internal directories.