Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
func (*Authentication) RequiredAuth ¶
func (auth *Authentication) RequiredAuth(rules ...string) broc.Handler
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶
func NewMiddleware(middlewares map[string]interface{}) *Middleware
func (*Middleware) PacketHandler ¶
func (m *Middleware) PacketHandler(ctx *broc.Context) (interface{}, error)
func (*Middleware) RequiredAuth ¶
func (m *Middleware) RequiredAuth(rules ...string) broc.Handler
Click to show internal directories.
Click to hide internal directories.