Documentation ¶
Index ¶
- type CarServiceImpl
- func (serviceImpl *CarServiceImpl) Brake(c context.Context, b *grpc.Brake) (*grpc.Empty, error)
- func (serviceImpl *CarServiceImpl) Emergency(context.Context, *grpc.Emergency) (*grpc.Empty, error)
- func (serviceImpl *CarServiceImpl) End() error
- func (serviceImpl *CarServiceImpl) Log(empty *grpc.Empty, stream grpc.LogService_LogServer) error
- func (serviceImpl *CarServiceImpl) Move(c context.Context, m *grpc.Move) (*grpc.Empty, error)
- func (serviceImpl *CarServiceImpl) Power(c context.Context, p *grpc.Power) (*grpc.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CarServiceImpl ¶
CarServiceImpl is a implementation of RepositoryService Grpc Service.
func NewCarServiceImpl ¶
func NewCarServiceImpl(serviceName string, healthServer *health.Server) (*CarServiceImpl, error)
NewCarServiceImpl returns the pointer to the implementation.
func (*CarServiceImpl) End ¶
func (serviceImpl *CarServiceImpl) End() error
func (*CarServiceImpl) Log ¶
func (serviceImpl *CarServiceImpl) Log(empty *grpc.Empty, stream grpc.LogService_LogServer) error
Add function implementation of gRPC Service.
Click to show internal directories.
Click to hide internal directories.