server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonServer

type CommonServer struct {
	sys.UnimplementedCommonServer
	// contains filtered or unexported fields
}

func NewCommonServer

func NewCommonServer(svcCtx *svc.ServiceContext) *CommonServer

func (*CommonServer) Config

func (s *CommonServer) Config(ctx context.Context, in *sys.Empty) (*sys.ConfigResp, error)

func (*CommonServer) QRCodeRead

func (s *CommonServer) QRCodeRead(ctx context.Context, in *sys.QRCodeReadReq) (*sys.QRCodeReadResp, error)

func (*CommonServer) ServiceInfoRead added in v1.0.1

func (s *CommonServer) ServiceInfoRead(ctx context.Context, in *sys.WithCode) (*sys.ServiceInfo, error)

func (*CommonServer) ServiceInfoUpdate added in v1.0.1

func (s *CommonServer) ServiceInfoUpdate(ctx context.Context, in *sys.ServiceInfo) (*sys.Empty, error)

func (*CommonServer) SlotInfoCreate

func (s *CommonServer) SlotInfoCreate(ctx context.Context, in *sys.SlotInfo) (*sys.WithID, error)

func (*CommonServer) SlotInfoDelete

func (s *CommonServer) SlotInfoDelete(ctx context.Context, in *sys.WithID) (*sys.Empty, error)

func (*CommonServer) SlotInfoIndex

func (s *CommonServer) SlotInfoIndex(ctx context.Context, in *sys.SlotInfoIndexReq) (*sys.SlotInfoIndexResp, error)

func (*CommonServer) SlotInfoRead

func (s *CommonServer) SlotInfoRead(ctx context.Context, in *sys.WithID) (*sys.SlotInfo, error)

func (*CommonServer) SlotInfoUpdate

func (s *CommonServer) SlotInfoUpdate(ctx context.Context, in *sys.SlotInfo) (*sys.Empty, error)

func (*CommonServer) WeatherRead

func (s *CommonServer) WeatherRead(ctx context.Context, in *sys.WeatherReadReq) (*sys.WeatherReadResp, error)

Jump to

Keyboard shortcuts

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