routes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InternalServerError = "Internal server error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Routes

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

func NewRoutes

func NewRoutes(r *chi.Mux, svc service.Service) Routes

NewRoutes ... Construct a new route handler instance

func (Routes) DepositTokensHandler

func (h Routes) DepositTokensHandler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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