Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option represents the available options
func WithGlobalConfig ¶
func WithGlobalConfig(globalConfig *config.Specification) Option
WithGlobalConfig sets the global configuration
func WithMetricsClient ¶
WithMetricsClient sets the metric provider
func WithProvider ¶
func WithProvider(provider api.Repository) Option
WithProvider sets the configuration provider
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the Janus server
func (*Server) StartWithContext ¶
StartWithContext starts the server and Stop/Close it when context is Done
Click to show internal directories.
Click to hide internal directories.