router

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

nolint

Index

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 (r *Router) EnableCORS() *Router

func (*Router) EnableCompress

func (r *Router) EnableCompress() *Router

func (*Router) EnableLogger

func (r *Router) EnableLogger() *Router

func (*Router) EnableRealIP

func (r *Router) EnableRealIP() *Router

func (*Router) EnableRecover

func (r *Router) EnableRecover() *Router

func (*Router) EnableRequestID

func (r *Router) EnableRequestID() *Router

func (*Router) EnableTimeout

func (r *Router) EnableTimeout() *Router

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 (r *Router) RouterMetrics() *Router

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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