package
3.1.2+incompatible
Repository: https://github.com/zokypesch/proto-lib.git
Documentation: pkg.go.dev
# Functions
AppendInterceptor for default register.
CreateContextForOutgoing for create context for outgoing request.
CreateLogger for creating logger.
CreateRedisPool for connection pool redis.
CustomHTTPError for hadling custom message error.
ExtractToken for extract a token.
GenerateToken for generate a token.
GetToken function for get token.
GetUnaryCounter for get unary counter.
InitDB for initial database.
InitDBWithoutLog for initial database.
InitDBWithoutMax for initial database.
InitLogWithApm For initialLog.
LocalForward for handling localforward append message.
NewAuthInterceptor for new config.
NewCacheService for new cache service.
NewEsCore func for create new ES CORE.
NewEsCoreWithSniff func for create new ES CORE.
NewServiceDecorator new service query decorator.
NewServiceGenerator for new service generator.
RegisterGRPC for registration GRPC.
RegisterGRPCWithARM for registration GRPC With ARM.
RegisterGRPCWithInterceptor for registration GRPC.
RegisterGRPCWithPrometh for get unnary prometheus.
https://www.elastic.co/guide/en/apm/agent/go/master/builtin-modules.html#builtin-modules-apmgrpc RegisterGRPCWithPromethAndAPM with ap agent too.
RegisterPrometheus for registration prometheus.
RunHTTP for running http.
RunHTTPWithCustomMatcher for running http.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Logs for setup logs.
# Structs
AuthInterceptorConfig struct for information interceptor.
Cache for caching.
Decorator for decorator your query.
ESCore for struct information.
GeneratorCode struct info for generator.
Jwt struct info for JWT.
# Interfaces
CacheService for caching service.
ESModule mdule of elastic search.
GeneratorCodeService for services.