Documentation ¶
Index ¶
- func CookieHook(ctx context.Context, writer http.ResponseWriter, message proto.Message) error
- 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 HttpStatusFromCode(code errcode.ErrCode) int
- 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 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 HttpStatusFromCode ¶ added in v1.5.11
func OutgoingHeaderMatcher ¶ added in v1.5.11
func ResponseHook ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.