server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0, Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Router instance of gorilla mux.Router
	Router *mux.Router

	// StaticFilter intercept static content page and return them.
	StaticFilter *api.StaticFilter

	// TokenFactory will handle token creation and validation
	TokenFactory helper.TokenFactory
)

Functions

func GetJwtTokenFactory

func GetJwtTokenFactory() helper.TokenFactory

GetJwtTokenFactory return an instance of JWT TokenFactory.

func InitializeRouter

func InitializeRouter()

InitializeRouter initializes Gorilla Mux and all handler, including Database and Mailer connector

func Start

func Start()

Start this server

func Walk

func Walk()

Walk and show all endpoint that available on this server

Types

This section is empty.

Jump to

Keyboard shortcuts

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