Documentation ¶
Index ¶
- func NewNegroniLoggerMiddleware(l *logrusx.Logger, name string) *reqlog.Middleware
- func ServeAdmin(r driver.Registry, wg *sync.WaitGroup, cmd *cobra.Command, args []string, ...)
- func ServeAll(d driver.Registry, opts ...Option) func(cmd *cobra.Command, args []string)
- func ServePublic(r driver.Registry, wg *sync.WaitGroup, cmd *cobra.Command, args []string, ...)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNegroniLoggerMiddleware ¶
func NewNegroniLoggerMiddleware(l *logrusx.Logger, name string) *reqlog.Middleware
func ServeAdmin ¶
Types ¶
type Option ¶
type Option func(*options)
func WithContext ¶
func WithRootMiddleware ¶
func WithRootMiddleware(m func(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)) Option
Click to show internal directories.
Click to hide internal directories.