routes

package
v0.0.0-...-03ef17d Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 7 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
	// contains filtered or unexported fields
}

func ProvideRouter

func ProvideRouter(api UserAPI) *Router

func (*Router) Setup

func (router *Router) Setup() *Router

type UserAPI

type UserAPI struct {
	UserService service.UserService
}

func ProvideUserAPI

func ProvideUserAPI(s service.UserService) UserAPI

func (*UserAPI) Register

func (api *UserAPI) Register(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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