Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
func (*Address) AsColonSeparatedString ¶
type Config ¶
type Config struct {
ServerConfig Server `json:"server"`
ServicesMap Services `json:"services"`
ZLogger zerolog.Logger
}
func (*Config) ValidatePins ¶
type Router ¶
type Router interface {
StartServer(registrar func(grpc.ServiceRegistrar)) error
StartServerAsync(registrar func(grpc.ServiceRegistrar)) (StopServer, error)
GetConnection(serviceName string) (grpc.ClientConnInterface, error)
io.Closer
}
type StopServer ¶
type StopServer func()
Click to show internal directories.
Click to hide internal directories.