Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcConfig ¶
type GrpcConfig struct {
Port string `yaml:"port"`
}
type GrpcServer ¶
type GrpcServer struct { Grpc *grpc.Server Config *GrpcConfig }
func NewGrpcServer ¶
func NewGrpcServer(cfg *GrpcConfig) *GrpcServer
func (*GrpcServer) RunGrpcServer ¶
func (srv *GrpcServer) RunGrpcServer(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.