Documentation ¶
Index ¶
- type HttpDirective
- type InitDirective
- type LocationDirective
- func (d *LocationDirective) Accept(decl map[string]interface{}) bool
- func (d *LocationDirective) Apply(c api.Server, items map[string]interface{}) (bool, error)
- func (d *LocationDirective) Name() string
- func (d *LocationDirective) Package() string
- func (d *LocationDirective) SetContentHandler(c api.Server, r *mux.Route) *mux.Route
- type Match
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpDirective ¶
func (*HttpDirective) Accept ¶
func (d *HttpDirective) Accept(decl map[string]interface{}) bool
func (*HttpDirective) Name ¶
func (d *HttpDirective) Name() string
func (*HttpDirective) Package ¶
func (d *HttpDirective) Package() string
type InitDirective ¶
type InitDirective struct{}
func (*InitDirective) Accept ¶
func (d *InitDirective) Accept(decl map[string]interface{}) bool
func (*InitDirective) Name ¶
func (d *InitDirective) Name() string
func (*InitDirective) Package ¶
func (d *InitDirective) Package() string
type LocationDirective ¶
type LocationDirective struct { Location string Content string Match Match Middleware []string Auth string Nested []LocationDirective }
func (*LocationDirective) Accept ¶
func (d *LocationDirective) Accept(decl map[string]interface{}) bool
func (*LocationDirective) Name ¶
func (d *LocationDirective) Name() string
func (*LocationDirective) Package ¶
func (d *LocationDirective) Package() string
func (*LocationDirective) SetContentHandler ¶
Click to show internal directories.
Click to hide internal directories.