Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Validate = validator.New()
Functions ¶
Types ¶
type RESTServer ¶
type RESTServer struct {
Router *chi.Mux
}
func NewRESTServer ¶
func NewRESTServer() *RESTServer
func (*RESTServer) Run ¶
func (s *RESTServer) Run(ctx context.Context, cfg *config.RESTConfig) error
func (*RESTServer) UseDefaultMiddleware ¶
func (s *RESTServer) UseDefaultMiddleware(cfg *config.RESTConfig)
Click to show internal directories.
Click to hide internal directories.