router

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// APIVersion is the version of API.
	APIVersion = "/api/v1"
)

Variables

This section is empty.

Functions

func InitRouters

func InitRouters(dataStore *store.DataStore, recordRotationThreshold int) error

InitRouters initializes the router for REST APIs.

func NCSACommonLogFormatLogger added in v0.5.0

func NCSACommonLogFormatLogger() restful.FilterFunction

NCSACommonLogFormatLogger add filter to produce NCSA standard log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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