router

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	*mux.Router
	Services
	// contains filtered or unexported fields
}

func New

func New(logger logrus.FieldLogger, m *mux.Router, s Services) *Router

func (*Router) RegisterAPIKeyHandlers

func (r *Router) RegisterAPIKeyHandlers()

func (*Router) RegisterHandlers

func (r *Router) RegisterHandlers()

func (*Router) RegisterUserHandlers

func (r *Router) RegisterUserHandlers()

type Services

type Services struct {
	api.AuthService
	api.UserService
	api.APIKeyService
}

Jump to

Keyboard shortcuts

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