Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GRPC ServerListen `yaml:"grpc" mapstructure:"grpc"` HTTP ServerListen `yaml:"http" mapstructure:"http"` }
Config hold http/grpc server config
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is server struct which contains both grpc and http server.
type ServerListen ¶
type ServerListen struct { Host string `yaml:"host" mapstructure:"host"` Port int `yaml:"port" mapstructure:"port"` }
ServerListen config for host/port socket listener nolint:revive
Click to show internal directories.
Click to hide internal directories.