Documentation
¶
Index ¶
- type ManagerServer
- func (s *ManagerServer) ComputeChargeTimeRemaining(_ context.Context, req *pb.ComputeChargeTimeRemainingRequest) (*pb.ComputeChargeTimeRemainingResponse, error)
- func (s *ManagerServer) GetIntProperty(_ context.Context, req *pb.GetIntPropertyRequest) (*pb.GetIntPropertyResponse, error)
- func (s *ManagerServer) GetLongProperty(_ context.Context, req *pb.GetLongPropertyRequest) (*pb.GetLongPropertyResponse, error)
- func (s *ManagerServer) GetStringProperty(_ context.Context, req *pb.GetStringPropertyRequest) (*pb.GetStringPropertyResponse, error)
- func (s *ManagerServer) IsCharging(_ context.Context, req *pb.IsChargingRequest) (*pb.IsChargingResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerServer ¶ added in v0.0.4
type ManagerServer struct {
pb.UnimplementedManagerServiceServer
Ctx *app.Context
}
ManagerServer implements pb.ManagerServiceServer.
func (*ManagerServer) ComputeChargeTimeRemaining ¶ added in v0.0.4
func (s *ManagerServer) ComputeChargeTimeRemaining(_ context.Context, req *pb.ComputeChargeTimeRemainingRequest) (*pb.ComputeChargeTimeRemainingResponse, error)
func (*ManagerServer) GetIntProperty ¶ added in v0.0.4
func (s *ManagerServer) GetIntProperty(_ context.Context, req *pb.GetIntPropertyRequest) (*pb.GetIntPropertyResponse, error)
func (*ManagerServer) GetLongProperty ¶ added in v0.0.4
func (s *ManagerServer) GetLongProperty(_ context.Context, req *pb.GetLongPropertyRequest) (*pb.GetLongPropertyResponse, error)
func (*ManagerServer) GetStringProperty ¶ added in v0.0.4
func (s *ManagerServer) GetStringProperty(_ context.Context, req *pb.GetStringPropertyRequest) (*pb.GetStringPropertyResponse, error)
func (*ManagerServer) IsCharging ¶ added in v0.0.4
func (s *ManagerServer) IsCharging(_ context.Context, req *pb.IsChargingRequest) (*pb.IsChargingResponse, error)
Click to show internal directories.
Click to hide internal directories.