Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandServiceImpl ¶
type CommandServiceImpl struct { gen.UnimplementedCommandServiceServer // contains filtered or unexported fields }
CommandServiceImpl implements gen.CommandServiceServer
func NewCommandServiceImpl ¶
func NewCommandServiceImpl(controller adapter.CommandController) *CommandServiceImpl
NewCommandServiceImpl is a constructor
func (*CommandServiceImpl) Create ¶
func (cs *CommandServiceImpl) Create(ctx context.Context, request *gen.CreateRequest) (*gen.EntityID, error)
Create is a gRPC method for creating TODOs
type ServerImpl ¶
type ServerImpl struct {
// contains filtered or unexported fields
}
ServerImpl implements Server
func NewServerImpl ¶
func NewServerImpl( configProvider adapter.ConfigProvider, commandService gen.CommandServiceServer, ) *ServerImpl
NewServerImpl is a constructor
func (*ServerImpl) Run ¶
func (s *ServerImpl) Run() error
Run runs the server This is a long lived operation, run in it in a goroutine if you want to do something else too
Click to show internal directories.
Click to hide internal directories.