Documentation ¶
Index ¶
- func GetUser(ctx context.Context) (*contracts.UserInfo, error)
- func MustGetUser(ctx context.Context) *contracts.UserInfo
- func SetUser(ctx context.Context, info *contracts.UserInfo) context.Context
- func StreamServerInterceptor() grpc.StreamServerInterceptor
- func UnaryServerInterceptor() grpc.UnaryServerInterceptor
- type Auth
- type CtxTokenInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
Types ¶
type CtxTokenInfo ¶
type CtxTokenInfo struct{}
Click to show internal directories.
Click to hide internal directories.