server

package
v0.0.0-...-7745932 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 (s *StationServer) DeleteStation(ctx context.Context, in *pb.IDResp) (*pb.BaseResp, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL