gateway

package
v1.13.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CookieHook

func CookieHook(ctx context.Context, writer http.ResponseWriter, message proto.Message) error

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 HttpStatusFromCode(code errcode.ErrCode) int

func OutgoingHeaderMatcher added in v1.5.11

func OutgoingHeaderMatcher(key string) (string, bool)

func ResponseHook

func ResponseHook(ctx context.Context, writer http.ResponseWriter, message proto.Message) error

Types

type SetCookie

type SetCookie interface {
	GetCookie() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL