context

package
v0.0.0-...-42619b2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIContext

type APIContext struct {
	Config smolder.APIConfig
}

APIContext is polly's central context

func (*APIContext) Authentication

func (context *APIContext) Authentication(request *restful.Request) (interface{}, error)

Authentication parses the request for an access-/authtoken and returns the matching user

func (*APIContext) LogSummary

func (context *APIContext) LogSummary()

LogSummary logs out the current context stats

func (*APIContext) NewAPIContext

func (context *APIContext) NewAPIContext() smolder.APIContext

NewAPIContext returns a new polly context

Jump to

Keyboard shortcuts

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