Documentation ¶
Index ¶
- type KenobiServer
- func (k *KenobiServer) Start()
- func (k *KenobiServer) StartWithOptions(options *serverOptions.KenobiServerStartOptions)
- func (k *KenobiServer) UseHttp() *KenobiServer
- func (k *KenobiServer) UseOpenTracing() *KenobiServer
- func (k *KenobiServer) UsePrometheus(excludedEndpoints ...string) *KenobiServer
- func (k *KenobiServer) UseSwagger() *KenobiServer
- func (k *KenobiServer) WithAllowAnyCORSMiddleware() *KenobiServer
- func (k *KenobiServer) WithCORSMiddleware(allowsOrigins []string, allowsHeaders []string, allowsMethods []string) *KenobiServer
- func (k *KenobiServer) WithController(controller interfaces.ControllerBase) *KenobiServer
- func (k *KenobiServer) WithCustomMiddlewares(middlewares ...echo.MiddlewareFunc) *KenobiServer
- func (k *KenobiServer) WithDefaultLogger(options ...*options.LoggerOptions) *KenobiServer
- func (k *KenobiServer) WithGzipMiddleware() *KenobiServer
- func (k *KenobiServer) WithHealthCheckMiddleware(path string, response string) *KenobiServer
- func (k *KenobiServer) WithLogger(logger logger.Logger) *KenobiServer
- func (k *KenobiServer) WithLoggingMiddleware() *KenobiServer
- func (k *KenobiServer) WithNewRelicMiddleware(licenceKey string) *KenobiServer
- func (k *KenobiServer) WithRecoverMiddleware() *KenobiServer
- func (k *KenobiServer) WithRequestIDMiddleware() *KenobiServer
- func (k *KenobiServer) WithTimeoutMiddleware(duration time.Duration) *KenobiServer
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 New ¶
func New(name string) *KenobiServer
func (*KenobiServer) Start ¶
func (k *KenobiServer) Start()
func (*KenobiServer) StartWithOptions ¶
func (k *KenobiServer) StartWithOptions(options *serverOptions.KenobiServerStartOptions)
func (*KenobiServer) UseHttp ¶
func (k *KenobiServer) UseHttp() *KenobiServer
func (*KenobiServer) UseOpenTracing ¶
func (k *KenobiServer) UseOpenTracing() *KenobiServer
func (*KenobiServer) UsePrometheus ¶
func (k *KenobiServer) UsePrometheus(excludedEndpoints ...string) *KenobiServer
func (*KenobiServer) UseSwagger ¶
func (k *KenobiServer) UseSwagger() *KenobiServer
func (*KenobiServer) WithAllowAnyCORSMiddleware ¶
func (k *KenobiServer) WithAllowAnyCORSMiddleware() *KenobiServer
func (*KenobiServer) WithCORSMiddleware ¶
func (k *KenobiServer) WithCORSMiddleware(allowsOrigins []string, allowsHeaders []string, allowsMethods []string) *KenobiServer
func (*KenobiServer) WithController ¶
func (k *KenobiServer) WithController(controller interfaces.ControllerBase) *KenobiServer
func (*KenobiServer) WithCustomMiddlewares ¶
func (k *KenobiServer) WithCustomMiddlewares(middlewares ...echo.MiddlewareFunc) *KenobiServer
func (*KenobiServer) WithDefaultLogger ¶
func (k *KenobiServer) WithDefaultLogger(options ...*options.LoggerOptions) *KenobiServer
func (*KenobiServer) WithGzipMiddleware ¶
func (k *KenobiServer) WithGzipMiddleware() *KenobiServer
func (*KenobiServer) WithHealthCheckMiddleware ¶
func (k *KenobiServer) WithHealthCheckMiddleware(path string, response string) *KenobiServer
func (*KenobiServer) WithLogger ¶
func (k *KenobiServer) WithLogger(logger logger.Logger) *KenobiServer
func (*KenobiServer) WithLoggingMiddleware ¶
func (k *KenobiServer) WithLoggingMiddleware() *KenobiServer
func (*KenobiServer) WithNewRelicMiddleware ¶
func (k *KenobiServer) WithNewRelicMiddleware(licenceKey string) *KenobiServer
func (*KenobiServer) WithRecoverMiddleware ¶
func (k *KenobiServer) WithRecoverMiddleware() *KenobiServer
func (*KenobiServer) WithRequestIDMiddleware ¶
func (k *KenobiServer) WithRequestIDMiddleware() *KenobiServer
func (*KenobiServer) WithTimeoutMiddleware ¶
func (k *KenobiServer) WithTimeoutMiddleware(duration time.Duration) *KenobiServer
Click to show internal directories.
Click to hide internal directories.