Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func NewStaticMiddleware ¶
func NewStaticMiddleware(options ...MiddlewareOption) *Middleware
type MiddlewareOption ¶
type MiddlewareOption = func(*Middleware)
func WithFileSystem ¶
func WithFileSystem(fs afero.Fs) MiddlewareOption
func WithIndex ¶
func WithIndex(index string) MiddlewareOption
func WithLogger ¶
func WithLogger(logger contracts.Logger) MiddlewareOption
func WithPrefix ¶
func WithPrefix(prefix string) MiddlewareOption
Click to show internal directories.
Click to hide internal directories.