router

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 6 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
}

func New

func New(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 {
	Logger logrus.FieldLogger

	api.AuthService
	api.UserService
	api.APIKeyService
}

Jump to

Keyboard shortcuts

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