Documentation ¶
Index ¶
- type Config
- type Router
- func (r *Router) EnableCORS() *Router
- func (r *Router) EnableLogger() *Router
- func (r *Router) EnableRealIP() *Router
- func (r *Router) EnableRecover() *Router
- func (r *Router) EnableRequestID() *Router
- func (r *Router) EnableTimeout() *Router
- func (r *Router) RouterHealth(repository adapter.Interface)
- func (r *Router) RouterProduct(repository adapter.Interface)
- func (r *Router) SetRouters(repository adapter.Interface) *chi.Mux
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetTimeout ¶
func (*Config) SetTimeout ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) EnableCORS ¶
func (*Router) EnableLogger ¶
func (*Router) EnableRealIP ¶
func (*Router) EnableRecover ¶
func (*Router) EnableRequestID ¶
func (*Router) EnableTimeout ¶
func (*Router) RouterHealth ¶
func (*Router) RouterProduct ¶
func (*Router) SetRouters ¶
Click to show internal directories.
Click to hide internal directories.