Documentation ¶
Index ¶
- Variables
- type GeneratorSvc
- func (gsvc *GeneratorSvc) Moudles(ctx context.Context, req *v1.MoudlesReq) (*v1.MoudlesReply, error)
- func (gsvc *GeneratorSvc) NextID(ctx context.Context, req *v1.NextIDReq) (*v1.NextIDReply, error)
- func (gsvc *GeneratorSvc) RegisterModules(ctx context.Context, req *v1.RegisterModulesReq) (*v1.RegisterModulesReply, error)
- type GrpcServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGeneratorSvc, NewGrpcServer)
Functions ¶
This section is empty.
Types ¶
type GeneratorSvc ¶
type GeneratorSvc struct { v1.UnimplementedGeneratorServer v1.UnimplementedMannagerServer // contains filtered or unexported fields }
func NewGeneratorSvc ¶
func NewGeneratorSvc(sl core.StatusLoader, cl core.ConfigLoader) *GeneratorSvc
func (*GeneratorSvc) Moudles ¶
func (gsvc *GeneratorSvc) Moudles(ctx context.Context, req *v1.MoudlesReq) (*v1.MoudlesReply, error)
func (*GeneratorSvc) NextID ¶
func (gsvc *GeneratorSvc) NextID(ctx context.Context, req *v1.NextIDReq) (*v1.NextIDReply, error)
func (*GeneratorSvc) RegisterModules ¶
func (gsvc *GeneratorSvc) RegisterModules(ctx context.Context, req *v1.RegisterModulesReq) (*v1.RegisterModulesReply, error)
type GrpcServer ¶
type GrpcServer struct { Addr string // contains filtered or unexported fields }
func NewGrpcServer ¶
func NewGrpcServer(gs *GeneratorSvc, c *conf.Server) *GrpcServer
NewServer new gRPC server instance
Click to show internal directories.
Click to hide internal directories.