Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Options ¶
func Options(cfg *Config, opts ...grpc.ServerOption) []grpc.ServerOption
Options gives options that manage server connection parameters.
Types ¶
type Certificates ¶
Certificates contains path to certificates and key.
type Config ¶
type Config struct { Port int Gateway Gateway Connection Connection }
Config contains params to setup server.
type Connection ¶
Connection parameters.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server contains core functionality of the service.
func (Server) LivenessProbe ¶
LivenessProbe returns liveness probe of the server.
func (Server) ReadinessProbe ¶
ReadinessProbe returns readiness probe for the server.
Click to show internal directories.
Click to hide internal directories.