routes

package
v0.0.0-...-34cbc82 Latest Latest
Warning

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

Go to latest
Published: Jul 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) DepositListHandler

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

func (Routes) SubmitWithdrawHandler

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

func (Routes) WithdrawListHandler

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

Jump to

Keyboard shortcuts

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