Documentation ¶
Index ¶
- func CookieHook(ctx context.Context, writer http.ResponseWriter, message proto.Message) error
- func HTTPStatusFromCode(code errorcode.ErrCode) int
- func HandleForwardResponseServerMetadata(w http.ResponseWriter, md metadata.MD)
- func HandleForwardResponseTrailer(w http.ResponseWriter, md metadata.MD)
- func HandleForwardResponseTrailerHeader(w http.ResponseWriter, md metadata.MD)
- func OutgoingHeaderMatcher(key string) (string, bool)
- func ResponseHook(ctx context.Context, writer http.ResponseWriter, message proto.Message) error
- type SetCookie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CookieHook ¶
func HTTPStatusFromCode ¶
func HandleForwardResponseServerMetadata ¶ added in v1.5.11
func HandleForwardResponseServerMetadata(w http.ResponseWriter, md metadata.MD)
func HandleForwardResponseTrailer ¶ added in v1.5.11
func HandleForwardResponseTrailer(w http.ResponseWriter, md metadata.MD)
func HandleForwardResponseTrailerHeader ¶ added in v1.5.11
func HandleForwardResponseTrailerHeader(w http.ResponseWriter, md metadata.MD)
func OutgoingHeaderMatcher ¶ added in v1.5.11
func ResponseHook ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.