Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(c CompletedConfig, authn middleware.Middleware, meter metric.Meter, logger log.Logger) (*kgrpc.Server, error)
New creates a new a gRPC server.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
CompletedConfig can be constructed only from Config.Complete
type Options ¶
type Options struct { Addr string `mapstructure:"address"` Timeout int `mapstructure:"timeout-seconds"` ServingCertFile string `mapstructure:"certfile"` PrivateKeyFile string `mapstructure:"keyfile"` ClientCAFile string `mapstructure:"client-ca-file"` SNI string `mapstructure:"sni-servername"` CertOpt int `mapstructure:"certopt"` }
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.