Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeyAppId = "hd-app-id" KeyClient = "hd-client" KeyRelease = "hd-release" KeyTsn = "hd-tsn" // tenant sn KeyTid = "hd-tid" // tenant id KeyUid = "hd-uid" // user id KeyRoleIds = "hd-role-ids" // role ids KeyCaller = "dapr-caller-app-id" )
Variables ¶
This section is empty.
Functions ¶
func AddMetaToContext ¶ added in v0.1.2
Types ¶
type MetaReader ¶
func FromGrpcContext ¶
func FromGrpcContext(ctx context.Context) MetaReader
func FromServiceContext ¶
func FromServiceContext(ctx context.Context) MetaReader
Click to show internal directories.
Click to hide internal directories.