routes

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewRouter added in v0.7.0

type NewRouter struct {
	Version       string
	Commit        string
	DomainName    string
	JWTSigningKey string
	Debug         bool
	Clapper       *clapperPackage.Repos
	Creator       *creatorPackage.Repos
	Encoder       *encoderPackage.EncoderController
	Misc          *miscPackage.Repos
	People        *peoplePackage.Repo
	Public        *publicPackage.Repos
}

NewRouter is the required dependencies

type Router added in v0.7.0

type Router struct {
	// contains filtered or unexported fields
}

Router provides a HTTP server for web-api

func New added in v0.7.0

func New(conf *NewRouter) *Router

New creates a new router instance

func (*Router) Start added in v0.7.0

func (r *Router) Start()

Start the HTTP Server

Jump to

Keyboard shortcuts

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