http

package
v0.0.0-...-2c16718 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 3 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 {
	ContextPath string

	LoggerSugar *zap.SugaredLogger
	// contains filtered or unexported fields
}

func GetNewRouter

func GetNewRouter(loggerSugar *zap.SugaredLogger) Router

func (Router) AddGroupHandlerAddress

func (router Router) AddGroupHandlerAddress(ah *handler.Address) func(r chi.Router)

func (Router) AddGroupHandlerCustomer

func (router Router) AddGroupHandlerCustomer(ah *handler.Customer) func(r chi.Router)

func (Router) AddGroupHandlerHealthCheck

func (router Router) AddGroupHandlerHealthCheck(ah *handler.Generic) func(r chi.Router)

func (Router) AddGroupHandlerPerson

func (router Router) AddGroupHandlerPerson(ah *handler.Person) func(r chi.Router)

func (Router) AddGroupHandlerPhone

func (router Router) AddGroupHandlerPhone(ah *handler.Phone) func(r chi.Router)

func (Router) GetChiRouter

func (router Router) GetChiRouter() chi.Router

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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