# Functions
AccessControlAlways is a utility AccessControlFunc that enables access control for every request.
Dial creates a client connection to the given target.
GetErrorStatus returns gRPC status from error.
GetRegisteredMethod returns a registered method description.
IsErrorCode returns true if the given error represents a specific gRPC error code.
IsLocalAddress checks if the gRPC address points to a local socket or loopback address.
IsSocketAddress checks if the gRPC address is a socket address.
NewClientCreds creates new client TLS transport credentials.
NewServer constructs a new gRPC server service listening on a specific TCP port or local socket path.
NewServiceName creates a new gRPC service name.
NewStreamWriter wraps a server-side gRPC stream into an io.Writer interface so that a stream can be used as a writer.
ServerPubKeysGetterFromCertificate returns a ServerPubKeysGetter that returns the public key that signed the given X509 certificate.
ServiceNameFromMethod extract service name from method name.
# Constants
CfgLogDebug enables verbose gRPC debug output.
ServicePrefix is a prefix given to all gRPC services defined by oasis-core.
# Variables
ErrServiceClosed is the error returned when the wrapper receives a message for a service whose interceptor has been removed.
Flags has the flags used by the gRPC server.
# Structs
CBORCodec implements gRPC's encoding.Codec interface.
ClientOptions contains all the fields needed to configure a TLS client.
MethodDesc is a gRPC method descriptor.
Server is a gRPC server service.
ServerConfig holds the configuration used for creating a server.
WrappedRequest is a struct containing either a wrapped unary or stream request.
WrappedRequestCommon is a struct with common metadata about intercepted GRPC requests.
WrappedStreamRequest is a stream GRPC request packet.
WrappedUnaryRequest is an unary GRPC request packet.
# Type aliases
AccessControlFunc is a function that decides whether access control policy lookup is required for a specific request.
NamespaceExtractorFunc extracts namespce from a method request.
ServerPubKeysGetter is a function that when called will produce a set of public keys.
ServiceName is a gRPC service name.