# Packages
Package gen is a reverse proxy.
Package grpcmetadata contains functions for reading and writing waypoint specific metadata to contexts, which is transmitted by RPC calls.
Package hcerr contains helpers to format and sanitize errors before returning them to clients as grpc status errors.
Package logbuffer provides a structure and API for efficiently reading and writing logs that may be streamed to a server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AuthStreamInterceptor returns a gRPC unary interceptor that inspects the metadata attached to the context.
AuthUnaryInterceptor returns a gRPC unary interceptor that inspects the metadata attached to the context.
GWNullAnyUnaryInterceptor returns a gRPC unary interceptor that replaces all *any.Any fields in structs with null ONLY FOR grpc-gateway requests.
Id returns a unique Id that can be used for new values.
NewStatus returns a new Status message with the given initial state.
StatusSetError sets the error state on the status and marks the completion time.
StatusSetSuccess sets state of the status to success and marks the completion time.
TestCookieContext returns a context with the cookie set.
TestRunner registers a runner and returns the ID and a function to deregister the runner.
TestServer starts a server and returns a gRPC client to that server.
TestVersionInfoResponse generates a valid version info response for testing.
TestWithContext specifies a context to use with the test server.
TestWithRestart specifies a channel that will be sent to trigger a restart.
TestWithToken specifies a specific token to use for auth.
VersionStreamInterceptor returns a gRPC unary interceptor that negotiates the protocol version to use and sets it in the context using protocolversion.WithContext.
VersionUnaryInterceptor returns a gRPC unary interceptor that negotiates the protocol version to use and sets it in the context using protocolversion.WithContext.
# Variables
No description provided by the author
Effects is information about the effects of endpoints that are authenticated.
# Interfaces
AuthChecker - An interface implemented by something that wishes to authenticate the server actions.
# Type aliases
TestOption is used with TestServer to configure test behavior.