Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int `mapstructure:"grpc-port"` ServiceName string `mapstructure:"grpc-service-name"` }
Config stores configurations specific to the grpc service
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the grpc server object
func (*Server) ListenAndServe ¶
func (s *Server) ListenAndServe()
ListenAndServe starts the grpc server on a port specified by configurations
Click to show internal directories.
Click to hide internal directories.