Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Service Service Publisher Publisher Store Store Token Token TraceAgent TraceAgent }
Config holds the app config.
type Service ¶
type Service struct { AppID string LogLevel string RetryTimeout time.Duration RetryAttempts uint32 PortRPC uint32 PortREST uint32 PortWebSocket uint32 TerminationTimeout time.Duration }
Service holds basic service configuration.
type TraceAgent ¶
type TraceAgent struct {
Addr Addr
}
TraceAgent holds trace agent configuration.
func (TraceAgent) Validate ¶
func (t TraceAgent) Validate() error
Click to show internal directories.
Click to hide internal directories.