Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultModule ¶
type DefaultModule interface {
Default() bool
}
DefaultModule is extension to Module that specify whether is default loaded TODO: consider more proper interface that can be customized its behaviour inside the framework
type Endpoint ¶
type Endpoint struct { Middlewares []Middleware Path string Method string Handler http.Handler }
type MiddlewareFunc ¶
type SkipDefaultMiddlewaresExt ¶
type SkipDefaultMiddlewaresExt interface {
SkipDefaultMiddlewares() bool
}
type SkipMiddlewaresExt ¶
type SkipMiddlewaresExt interface {
SkipMiddlewares() bool
}
type WebService ¶
type WebService interface {
CreateEndpoints(middlewares ...Middleware) []Endpoint
}
Click to show internal directories.
Click to hide internal directories.