Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + const JWT_CONTEXT_KEY + func CreateJwtToken(name string, dcId int) (string, error) + func GetLogger() *zap.Logger + func NewLoggerServer() + func ParseToken(token string) (jwt.MapClaims, error) + type LogErrorHandler struct + func NewZapLogErrorHandler(logger *zap.Logger) *LogErrorHandler + func (h *LogErrorHandler) Handle(ctx context.Context, err error) + type Token struct + DcId int + Name string