Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JWTClaimsCtxType = &jwt.MyCustomClaims{}
Functions ¶
This section is empty.
Types ¶
type CacheCtxType ¶
type ContentKey ¶
type ContentKey string
const ( CTX_POSTGRES_KEY ContentKey = "__ctx.database.postgres.key__" CTX_RETHINK_DB_KEY ContentKey = "__ctx.database.rethinkdb.key__" CTX_REDIS_KEY ContentKey = "__ctx.cache.redis.key__" CTX_CACHE_DB_KEY ContentKey = "__ctx.cache.db.key__" CTX_NATS_KEY ContentKey = "__ctx.msg.nats.key__" CTX_SERVICE_MSGBORKER ContentKey = "__ctx.service.msgborker.key__" CTX_SERVICE_PERSISTENCE ContentKey = "__ctx.service.persistence.key__" CTX_SERVICE_CONVERSATION ContentKey = "__ctx.service.conversation.key__" CTX_SERVICE_MSGHUB ContentKey = "__ctx.service.msghub.key__" CTX_SERVICE_MSGID ContentKey = "__ctx.service.msgid.key__" CTX_LOGGER_KEY ContentKey = "__ctx.logger.key__" CTX_IP_WHITELIST_KEY ContentKey = "__ctx.ip.whitelist.key__" )
const (
HTTP_CTX_JWT_CLAIMS ContentKey = "__http.ctx.jwt.claims__"
)
type IPWhiteListCtxType ¶
type IPWhiteListCtxType = []string
type LoggerCtxType ¶
type NatsCtxType ¶
type RedisCtxType ¶
type RedisCtxType = *redis.Client
type RethinkDbCtxType ¶
type RpcxClientCtxType ¶
type RpcxClientCtxType = *rpcx.RpcxClientWithOpt
Click to show internal directories.
Click to hide internal directories.