Documentation
¶
Index ¶
- func ClaimInfo(ctx context.Context) (jwt.Claims, bool)
- func ForwardHttpToMetadata(ctx context.Context, r *http.Request) metadata.MD
- func ForwardedHost(ctx context.Context) (string, bool)
- func GrpcMethod(ctx context.Context) (string, bool)
- func HttpPath(ctx context.Context) (string, bool)
- func HttpPathPattern(ctx context.Context) (string, bool)
- func HttpVerb(ctx context.Context) (string, bool)
- func KeyInfo(ctx context.Context) (string, bool)
- func RemoteAddr(ctx context.Context) (string, bool)
- func RequestId(ctx context.Context) (string, bool)
- func SubInfo(ctx context.Context) (string, bool)
- func UserAgent(ctx context.Context) (string, bool)
- func WithClaimInfo(ctx context.Context, claims jwt.Claims) context.Context
- func WithKeyInfo(ctx context.Context, key string) context.Context
- func WithRequestId(ctx context.Context) context.Context
- func WithSubInfo(ctx context.Context, subject string) context.Context
- func XForwardedFor(ctx context.Context) ([]string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForwardHttpToMetadata ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.