Versions in this module Expand all Collapse all v0 v0.4.1 Aug 5, 2026 Changes in this version + func Serve(ctx context.Context, opts ...Option) error + type Auth interface + Authenticate func(context.Context, []*auth.CallerCredential) error + type CredentialCheck func(string) bool + type KMS interface + Unwrap func(context.Context, []byte) ([]byte, error) + Wrap func(context.Context, string, []byte) ([]byte, error) + type Option func(*options) + func WithAddr(hostPort string) Option + func WithAuth(a Auth) Option + func WithKMS(kms KMS) Option + func WithListener(lis net.Listener) Option + func WithLogger(l logger.Logger) Option + func WithServerAuth(header string, check CredentialCheck) Option + func WithServerOption(opts ...grpc.ServerOption) Option + func WithShutdownTimeout(t time.Duration) Option