Documentation ¶
Index ¶
- type StationServer
- func (s *StationServer) CreateStation(ctx context.Context, in *pb.CreateStationReq) (*pb.BaseResp, error)
- func (s *StationServer) DeleteStation(ctx context.Context, in *pb.IDResp) (*pb.BaseResp, error)
- func (s *StationServer) GetStation(ctx context.Context, in *pb.IDReq) (*pb.GetStationResp, error)
- func (s *StationServer) GetStationByUser(ctx context.Context, in *pb.IDReq) (*pb.GetStationByUserResp, error)
- func (s *StationServer) GetStationList(ctx context.Context, in *pb.PageInfoReq) (*pb.GetStationListResp, error)
- func (s *StationServer) GrantRoleToStation(ctx context.Context, in *pb.GrantRoleReq) (*pb.BaseResp, error)
- func (s *StationServer) GrantStationToUser(ctx context.Context, in *pb.StationUserReq) (*pb.BaseResp, error)
- func (s *StationServer) ReplaceStationUser(ctx context.Context, in *pb.ReplaceUserReq) (*pb.BaseResp, error)
- func (s *StationServer) UpdateDep(ctx context.Context, in *pb.ChangeDept) (*pb.BaseResp, error)
- func (s *StationServer) UpdateStation(ctx context.Context, in *pb.UpdateStationReq) (*pb.BaseResp, error)
- func (s *StationServer) UpdateStationSort(ctx context.Context, in *pb.ChangePositionReq) (*pb.BaseResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StationServer ¶
type StationServer struct { pb.UnimplementedStationServer // contains filtered or unexported fields }
func NewStationServer ¶
func NewStationServer(svcCtx *svc.ServiceContext) *StationServer
func (*StationServer) CreateStation ¶
func (s *StationServer) CreateStation(ctx context.Context, in *pb.CreateStationReq) (*pb.BaseResp, error)
func (*StationServer) DeleteStation ¶
func (*StationServer) GetStation ¶
func (s *StationServer) GetStation(ctx context.Context, in *pb.IDReq) (*pb.GetStationResp, error)
func (*StationServer) GetStationByUser ¶
func (s *StationServer) GetStationByUser(ctx context.Context, in *pb.IDReq) (*pb.GetStationByUserResp, error)
func (*StationServer) GetStationList ¶
func (s *StationServer) GetStationList(ctx context.Context, in *pb.PageInfoReq) (*pb.GetStationListResp, error)
func (*StationServer) GrantRoleToStation ¶
func (s *StationServer) GrantRoleToStation(ctx context.Context, in *pb.GrantRoleReq) (*pb.BaseResp, error)
func (*StationServer) GrantStationToUser ¶
func (s *StationServer) GrantStationToUser(ctx context.Context, in *pb.StationUserReq) (*pb.BaseResp, error)
func (*StationServer) ReplaceStationUser ¶
func (s *StationServer) ReplaceStationUser(ctx context.Context, in *pb.ReplaceUserReq) (*pb.BaseResp, error)
func (*StationServer) UpdateDep ¶
func (s *StationServer) UpdateDep(ctx context.Context, in *pb.ChangeDept) (*pb.BaseResp, error)
func (*StationServer) UpdateStation ¶
func (s *StationServer) UpdateStation(ctx context.Context, in *pb.UpdateStationReq) (*pb.BaseResp, error)
func (*StationServer) UpdateStationSort ¶
func (s *StationServer) UpdateStationSort(ctx context.Context, in *pb.ChangePositionReq) (*pb.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.