api

package
v0.0.0-...-c5b96c6 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	router.Router
	// contains filtered or unexported fields
}

API is a core API server instance

func New

func New(ctx interface{}, o *options.Base) (*API, error)

New creates a new API server

func (*API) Close

func (api *API) Close()

Close closes an API server (if bound)

func (*API) Run

func (api *API) Run() error

Run launches an API server

func (*API) SessionStore

func (api *API) SessionStore() sessions.Store

SessionStore fetches the API service session store

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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