Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + const ContextReqUUid + const JWT_CONTEXT_KEY + var TracingComponentTag = opentracing.Tag + func CreateJwtToken(name string, dcId int) (string, error) + func GetLogger() *zap.Logger + func JaegerClientMiddleware(tracer opentracing.Tracer) grpc.UnaryClientInterceptor + func JaegerServerMiddleware(tracer opentracing.Tracer) grpc.UnaryServerInterceptor + func NewJaegerTracer(serviceName string) (tracer opentracing.Tracer, closer io.Closer, err error) + func NewLoggerServer() + func ParseToken(token string) (jwt.MapClaims, error) + type Hystrix struct + func NewHystrix(msg string) *Hystrix + func (s *Hystrix) Run(name string, run runFunc) error + type LogErrorHandler struct + func NewZapLogErrorHandler(logger *zap.Logger) *LogErrorHandler + func (h *LogErrorHandler) Handle(ctx context.Context, err error) + type MDReaderWriter struct + func (c MDReaderWriter) ForeachKey(handler func(key, val string) error) error + func (c MDReaderWriter) Set(key, val string) + type Token struct + DcId int + Name string