builtin

package
v0.0.0-...-abdd10e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpDirective

type HttpDirective struct {
	Http     string
	Https    string
	CertFile string
	KeyFile  string
}

func (*HttpDirective) Accept

func (d *HttpDirective) Accept(decl map[string]interface{}) bool

func (*HttpDirective) Apply

func (d *HttpDirective) Apply(c api.Server, items map[string]interface{}) (bool, error)

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) Apply

func (d *InitDirective) Apply(c api.Server, items map[string]interface{}) (bool, error)

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) Apply

func (d *LocationDirective) Apply(c api.Server, items map[string]interface{}) (bool, error)

func (*LocationDirective) Name

func (d *LocationDirective) Name() string

func (*LocationDirective) Package

func (d *LocationDirective) Package() string

func (*LocationDirective) SetContentHandler

func (d *LocationDirective) SetContentHandler(c api.Server, r *mux.Route) *mux.Route

type Match

type Match struct {
	Prefix  string
	Hosts   []string
	Methods []string
	Schemes []string
	Queries []map[string]string
	Headers []map[string]string
	Custom  []string
}

func (Match) SetRoute

func (m Match) SetRoute(r *mux.Route) *mux.Route

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL