Documentation ¶
Overview ¶
nolint
Index ¶
- type Router
- func (r *Router) EnableCORS() *Router
- func (r *Router) EnableCompress() *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) GetRouter(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, ...) *chi.Mux
- func (r *Router) RouterAnalysis(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, ...) *Router
- func (r *Router) RouterHealth(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, ...) *Router
- func (r *Router) RouterManagement(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, ...) *Router
- func (r *Router) RouterMetrics() *Router
- func (r *Router) RouterTokensCompany(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, ...) *Router
- func (r *Router) RouterTokensRepository(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, ...) *Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(config *serverConfig.Server) *Router
func (*Router) EnableCORS ¶
func (*Router) EnableCompress ¶
func (*Router) EnableLogger ¶
func (*Router) EnableRealIP ¶
func (*Router) EnableRecover ¶
func (*Router) EnableRequestID ¶
func (*Router) EnableTimeout ¶
func (*Router) GetRouter ¶
func (r *Router) GetRouter(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, broker brokerLib.IBroker, config app.IAppConfig, grpcCon *grpc.ClientConn) *chi.Mux
func (*Router) RouterAnalysis ¶
func (r *Router) RouterAnalysis(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, broker brokerLib.IBroker, config app.IAppConfig) *Router
func (*Router) RouterHealth ¶
func (r *Router) RouterHealth(postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, broker brokerLib.IBroker, config app.IAppConfig, grpcCon *grpc.ClientConn) *Router
func (*Router) RouterManagement ¶ added in v1.1.0
func (r *Router) RouterManagement( postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, grpcCon *grpc.ClientConn) *Router
func (*Router) RouterMetrics ¶
func (*Router) RouterTokensCompany ¶
func (r *Router) RouterTokensCompany( postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, grpcCon *grpc.ClientConn) *Router
func (*Router) RouterTokensRepository ¶
func (r *Router) RouterTokensRepository( postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite, grpcCon *grpc.ClientConn) *Router
Click to show internal directories.
Click to hide internal directories.