Documentation ¶
Index ¶
- type KenobiServer
- func (k *KenobiServer) Build(service interfaces.Service) *KenobiServer
- func (k *KenobiServer) Start()
- func (k *KenobiServer) UseDefaultJsonSerializer()
- func (k *KenobiServer) UseDistributedConfigurationSource(settings *distributedConfiguration.DistributedConfigurationSourceSettings)
- func (k *KenobiServer) UseLocalConfigurationSource(settings *local.LocalConfigurationSourceSettings)
- func (k *KenobiServer) WithConfiguration(configurationKey string) *KenobiServer
- type KenobiServerConfiguration
- type KenobiServerDefaultHttpMiddlewares
- type KenobiServerHttpConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KenobiServer ¶
type KenobiServer struct {
// contains filtered or unexported fields
}
func NewKenobiServer ¶
func NewKenobiServer(serverName string) *KenobiServer
func (*KenobiServer) Build ¶
func (k *KenobiServer) Build(service interfaces.Service) *KenobiServer
func (*KenobiServer) Start ¶
func (k *KenobiServer) Start()
func (*KenobiServer) UseDefaultJsonSerializer ¶
func (k *KenobiServer) UseDefaultJsonSerializer()
func (*KenobiServer) UseDistributedConfigurationSource ¶
func (k *KenobiServer) UseDistributedConfigurationSource(settings *distributedConfiguration.DistributedConfigurationSourceSettings)
func (*KenobiServer) UseLocalConfigurationSource ¶
func (k *KenobiServer) UseLocalConfigurationSource(settings *local.LocalConfigurationSourceSettings)
func (*KenobiServer) WithConfiguration ¶
func (k *KenobiServer) WithConfiguration(configurationKey string) *KenobiServer
type KenobiServerConfiguration ¶
type KenobiServerConfiguration struct { GOMAXPROCS *int HTTP *KenobiServerHttpConfiguration }
type KenobiServerDefaultHttpMiddlewares ¶ added in v0.1.2
type KenobiServerDefaultHttpMiddlewares struct { LoggingEnabled bool GzipEnabled bool RequestIDEnabled bool Timeout struct { Enabled bool Duration time.Duration } CORS struct { Enabled bool AllowOrigins []string AllowHeaders []string AllowMethods []string } HealthCheck struct { Enabled bool Path string Response string } }
type KenobiServerHttpConfiguration ¶ added in v0.1.2
type KenobiServerHttpConfiguration struct { Port int DefaultMiddlewares *KenobiServerDefaultHttpMiddlewares }
Click to show internal directories.
Click to hide internal directories.