Documentation ¶
Index ¶
- func EnsureServerX509KeyPair(cfg config.Loader) (*tls.Certificate, error)
- func FsApiError(err error) codes.Code
- func ReadClientCAs(cfg config.Loader) (*x509.CertPool, error)
- func ReadRootCAs(cfg config.Loader) (*x509.CertPool, error)
- func ServiceName(cfg config.Loader) (string, error)
- func WithCommonInterceptors() grpc.ServerOption
- func WithStreamInterceptors() grpc.ServerOption
- type AuthInfo
- type CallerAuthGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureServerX509KeyPair ¶
func EnsureServerX509KeyPair(cfg config.Loader) (*tls.Certificate, error)
func FsApiError ¶
func WithCommonInterceptors ¶
func WithCommonInterceptors() grpc.ServerOption
func WithStreamInterceptors ¶
func WithStreamInterceptors() grpc.ServerOption
Types ¶
type AuthInfo ¶
func CallerAuth ¶
type CallerAuthGetter ¶
Click to show internal directories.
Click to hide internal directories.