Documentation ¶
Index ¶
- type AttrService
- func (s *AttrService) Create(ctx context.Context, in *pb.Attr) (*pb.Attr, error)
- func (s *AttrService) Delete(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *AttrService) GetValue(ctx context.Context, in *pb.Id) (*pb.AttrValue, error)
- func (s *AttrService) GetValueByName(ctx context.Context, in *pb.Name) (*pb.AttrNameValue, error)
- func (s *AttrService) List(ctx context.Context, in *slots.AttrListRequest) (*slots.AttrListResponse, error)
- func (s *AttrService) Name(ctx context.Context, in *pb.Name) (*pb.Attr, error)
- func (s *AttrService) Pull(ctx context.Context, in *slots.AttrPullRequest) (*slots.AttrPullResponse, error)
- func (s *AttrService) SetValue(ctx context.Context, in *pb.AttrValue) (*pb.MyBool, error)
- func (s *AttrService) SetValueByName(ctx context.Context, in *pb.AttrNameValue) (*pb.MyBool, error)
- func (s *AttrService) SetValueByNameForce(ctx context.Context, in *pb.AttrNameValue) (*pb.MyBool, error)
- func (s *AttrService) SetValueForce(ctx context.Context, in *pb.AttrValue) (*pb.MyBool, error)
- func (s *AttrService) Sync(ctx context.Context, in *pb.Attr) (*pb.MyBool, error)
- func (s *AttrService) Update(ctx context.Context, in *pb.Attr) (*pb.Attr, error)
- func (s *AttrService) View(ctx context.Context, in *pb.Id) (*pb.Attr, error)
- func (s *AttrService) ViewWithDeleted(ctx context.Context, in *pb.Id) (*pb.Attr, error)
- type ClassService
- func (s *ClassService) Create(ctx context.Context, in *pb.Class) (*pb.Class, error)
- func (s *ClassService) Delete(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *ClassService) List(ctx context.Context, in *slots.ClassListRequest) (*slots.ClassListResponse, error)
- func (s *ClassService) Name(ctx context.Context, in *pb.Name) (*pb.Class, error)
- func (s *ClassService) Pull(ctx context.Context, in *slots.ClassPullRequest) (*slots.ClassPullResponse, error)
- func (s *ClassService) Sync(ctx context.Context, in *pb.Class) (*pb.MyBool, error)
- func (s *ClassService) Update(ctx context.Context, in *pb.Class) (*pb.Class, error)
- func (s *ClassService) View(ctx context.Context, in *pb.Id) (*pb.Class, error)
- func (s *ClassService) ViewWithDeleted(ctx context.Context, in *pb.Id) (*pb.Class, error)
- type ConstService
- func (s *ConstService) Create(ctx context.Context, in *pb.Const) (*pb.Const, error)
- func (s *ConstService) Delete(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *ConstService) GetValue(ctx context.Context, in *pb.Id) (*pb.ConstValue, error)
- func (s *ConstService) GetValueByName(ctx context.Context, in *pb.Name) (*pb.ConstNameValue, error)
- func (s *ConstService) List(ctx context.Context, in *slots.ConstListRequest) (*slots.ConstListResponse, error)
- func (s *ConstService) Name(ctx context.Context, in *pb.Name) (*pb.Const, error)
- func (s *ConstService) Pull(ctx context.Context, in *slots.ConstPullRequest) (*slots.ConstPullResponse, error)
- func (s *ConstService) SetValue(ctx context.Context, in *pb.ConstValue) (*pb.MyBool, error)
- func (s *ConstService) SetValueByName(ctx context.Context, in *pb.ConstNameValue) (*pb.MyBool, error)
- func (s *ConstService) SetValueByNameForce(ctx context.Context, in *pb.ConstNameValue) (*pb.MyBool, error)
- func (s *ConstService) SetValueForce(ctx context.Context, in *pb.ConstValue) (*pb.MyBool, error)
- func (s *ConstService) Sync(ctx context.Context, in *pb.Const) (*pb.MyBool, error)
- func (s *ConstService) Update(ctx context.Context, in *pb.Const) (*pb.Const, error)
- func (s *ConstService) View(ctx context.Context, in *pb.Id) (*pb.Const, error)
- func (s *ConstService) ViewWithDeleted(ctx context.Context, in *pb.Id) (*pb.Const, error)
- type DataService
- func (s *DataService) Compile(ctx context.Context, in *slots.DataQueryRequest) (*pb.Message, error)
- func (s *DataService) Query(in *slots.DataQueryRequest, stream slots.DataService_QueryServer) error
- func (s *DataService) QueryById(in *slots.DataQueryByIdRequest, stream slots.DataService_QueryByIdServer) error
- func (s *DataService) Upload(ctx context.Context, in *slots.DataUploadRequest) (*slots.DataUploadResponse, error)
- type DeviceService
- type FnService
- func (s *FnService) Create(ctx context.Context, in *pb.Fn) (*pb.Fn, error)
- func (s *FnService) Delete(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *FnService) Link(ctx context.Context, in *slots.FnLinkRequest) (*pb.MyBool, error)
- func (s *FnService) List(ctx context.Context, in *slots.FnListRequest) (*slots.FnListResponse, error)
- func (s *FnService) Name(ctx context.Context, in *pb.Name) (*pb.Fn, error)
- func (s *FnService) Pull(ctx context.Context, in *slots.FnPullRequest) (*slots.FnPullResponse, error)
- func (s *FnService) Sync(ctx context.Context, in *pb.Fn) (*pb.MyBool, error)
- func (s *FnService) Update(ctx context.Context, in *pb.Fn) (*pb.Fn, error)
- func (s *FnService) View(ctx context.Context, in *pb.Id) (*pb.Fn, error)
- func (s *FnService) ViewWithDeleted(ctx context.Context, in *pb.Id) (*pb.Fn, error)
- type LogicService
- func (s *LogicService) Create(ctx context.Context, in *pb.Logic) (*pb.Logic, error)
- func (s *LogicService) Delete(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *LogicService) List(ctx context.Context, in *slots.LogicListRequest) (*slots.LogicListResponse, error)
- func (s *LogicService) Name(ctx context.Context, in *pb.Name) (*pb.Logic, error)
- func (s *LogicService) Pull(ctx context.Context, in *slots.LogicPullRequest) (*slots.LogicPullResponse, error)
- func (s *LogicService) Sync(ctx context.Context, in *pb.Logic) (*pb.MyBool, error)
- func (s *LogicService) Update(ctx context.Context, in *pb.Logic) (*pb.Logic, error)
- func (s *LogicService) View(ctx context.Context, in *pb.Id) (*pb.Logic, error)
- func (s *LogicService) ViewWithDeleted(ctx context.Context, in *pb.Id) (*pb.Logic, error)
- type RgrpcService
- type SlotOption
- type SlotService
- func (ss *SlotService) Context() context.Context
- func (ss *SlotService) Edge() *edge.EdgeService
- func (s *SlotService) Link(ctx context.Context, in *slots.SlotLinkRequest) (*pb.MyBool, error)
- func (ss *SlotService) Logger() *zap.Logger
- func (s *SlotService) Login(ctx context.Context, in *slots.LoginSlotRequest) (*slots.LoginSlotReply, error)
- func (ss *SlotService) RegisterGrpc(server *grpc.Server)
- func (ss *SlotService) Start()
- func (ss *SlotService) Stop()
- func (s *SlotService) Update(ctx context.Context, in *pb.Slot) (*pb.Slot, error)
- func (s *SlotService) View(ctx context.Context, in *pb.MyEmpty) (*pb.Slot, error)
- type SourceService
- func (s *SourceService) Create(ctx context.Context, in *pb.Source) (*pb.Source, error)
- func (s *SourceService) Delete(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *SourceService) Link(ctx context.Context, in *slots.SourceLinkRequest) (*pb.MyBool, error)
- func (s *SourceService) List(ctx context.Context, in *slots.SourceListRequest) (*slots.SourceListResponse, error)
- func (s *SourceService) Name(ctx context.Context, in *pb.Name) (*pb.Source, error)
- func (s *SourceService) Pull(ctx context.Context, in *slots.SourcePullRequest) (*slots.SourcePullResponse, error)
- func (s *SourceService) Sync(ctx context.Context, in *pb.Source) (*pb.MyBool, error)
- func (s *SourceService) Update(ctx context.Context, in *pb.Source) (*pb.Source, error)
- func (s *SourceService) View(ctx context.Context, in *pb.Id) (*pb.Source, error)
- func (s *SourceService) ViewWithDeleted(ctx context.Context, in *pb.Id) (*pb.Source, error)
- type SyncService
- func (s *SyncService) GetAttrUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetClassUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetConstUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetDeviceUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetFnUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetLogicUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetOptionUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetSlotUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetSourceUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetTagUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) GetTagValueUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
- func (s *SyncService) SetAttrUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetClassUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetConstUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetDeviceUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetFnUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetLogicUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetOptionUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetSlotUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetSourceUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetTagUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) SetTagValueUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
- func (s *SyncService) WaitDeviceUpdated(in *pb.MyEmpty, stream slots.SyncService_WaitDeviceUpdatedServer) error
- func (s *SyncService) WaitTagValueUpdated(in *pb.MyEmpty, stream slots.SyncService_WaitTagValueUpdatedServer) error
- type TagService
- func (s *TagService) Create(ctx context.Context, in *pb.Tag) (*pb.Tag, error)
- func (s *TagService) Delete(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *TagService) DeleteValue(ctx context.Context, in *pb.Id) (*pb.MyBool, error)
- func (s *TagService) GetValue(ctx context.Context, in *pb.Id) (*pb.TagValue, error)
- func (s *TagService) GetValueByName(ctx context.Context, in *pb.Name) (*pb.TagNameValue, error)
- func (s *TagService) List(ctx context.Context, in *slots.TagListRequest) (*slots.TagListResponse, error)
- func (s *TagService) Name(ctx context.Context, in *pb.Name) (*pb.Tag, error)
- func (s *TagService) Pull(ctx context.Context, in *slots.TagPullRequest) (*slots.TagPullResponse, error)
- func (s *TagService) PullValue(ctx context.Context, in *slots.TagPullValueRequest) (*slots.TagPullValueResponse, error)
- func (s *TagService) SetValue(ctx context.Context, in *pb.TagValue) (*pb.MyBool, error)
- func (s *TagService) SetValueByName(ctx context.Context, in *pb.TagNameValue) (*pb.MyBool, error)
- func (s *TagService) SetValueByNameForce(ctx context.Context, in *pb.TagNameValue) (*pb.MyBool, error)
- func (s *TagService) SetValueForce(ctx context.Context, in *pb.TagValue) (*pb.MyBool, error)
- func (s *TagService) Sync(ctx context.Context, in *pb.Tag) (*pb.MyBool, error)
- func (s *TagService) SyncValue(ctx context.Context, in *pb.TagValue) (*pb.MyBool, error)
- func (s *TagService) Update(ctx context.Context, in *pb.Tag) (*pb.Tag, error)
- func (s *TagService) View(ctx context.Context, in *pb.Id) (*pb.Tag, error)
- func (s *TagService) ViewValue(ctx context.Context, in *pb.Id) (*pb.TagValueUpdated, error)
- func (s *TagService) ViewWithDeleted(ctx context.Context, in *pb.Id) (*pb.Tag, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrService ¶
type AttrService struct { slots.UnimplementedAttrServiceServer // contains filtered or unexported fields }
func (*AttrService) GetValueByName ¶
func (s *AttrService) GetValueByName(ctx context.Context, in *pb.Name) (*pb.AttrNameValue, error)
func (*AttrService) List ¶
func (s *AttrService) List(ctx context.Context, in *slots.AttrListRequest) (*slots.AttrListResponse, error)
func (*AttrService) Pull ¶
func (s *AttrService) Pull(ctx context.Context, in *slots.AttrPullRequest) (*slots.AttrPullResponse, error)
func (*AttrService) SetValueByName ¶
func (s *AttrService) SetValueByName(ctx context.Context, in *pb.AttrNameValue) (*pb.MyBool, error)
func (*AttrService) SetValueByNameForce ¶
func (s *AttrService) SetValueByNameForce(ctx context.Context, in *pb.AttrNameValue) (*pb.MyBool, error)
func (*AttrService) SetValueForce ¶
func (*AttrService) ViewWithDeleted ¶
type ClassService ¶
type ClassService struct { slots.UnimplementedClassServiceServer // contains filtered or unexported fields }
func (*ClassService) List ¶
func (s *ClassService) List(ctx context.Context, in *slots.ClassListRequest) (*slots.ClassListResponse, error)
func (*ClassService) Pull ¶
func (s *ClassService) Pull(ctx context.Context, in *slots.ClassPullRequest) (*slots.ClassPullResponse, error)
func (*ClassService) ViewWithDeleted ¶
type ConstService ¶
type ConstService struct { slots.UnimplementedConstServiceServer // contains filtered or unexported fields }
func (*ConstService) GetValue ¶
func (s *ConstService) GetValue(ctx context.Context, in *pb.Id) (*pb.ConstValue, error)
func (*ConstService) GetValueByName ¶
func (s *ConstService) GetValueByName(ctx context.Context, in *pb.Name) (*pb.ConstNameValue, error)
func (*ConstService) List ¶
func (s *ConstService) List(ctx context.Context, in *slots.ConstListRequest) (*slots.ConstListResponse, error)
func (*ConstService) Pull ¶
func (s *ConstService) Pull(ctx context.Context, in *slots.ConstPullRequest) (*slots.ConstPullResponse, error)
func (*ConstService) SetValue ¶
func (s *ConstService) SetValue(ctx context.Context, in *pb.ConstValue) (*pb.MyBool, error)
func (*ConstService) SetValueByName ¶
func (s *ConstService) SetValueByName(ctx context.Context, in *pb.ConstNameValue) (*pb.MyBool, error)
func (*ConstService) SetValueByNameForce ¶
func (s *ConstService) SetValueByNameForce(ctx context.Context, in *pb.ConstNameValue) (*pb.MyBool, error)
func (*ConstService) SetValueForce ¶
func (s *ConstService) SetValueForce(ctx context.Context, in *pb.ConstValue) (*pb.MyBool, error)
func (*ConstService) ViewWithDeleted ¶
type DataService ¶
type DataService struct { slots.UnimplementedDataServiceServer // contains filtered or unexported fields }
func (*DataService) Compile ¶
func (s *DataService) Compile(ctx context.Context, in *slots.DataQueryRequest) (*pb.Message, error)
func (*DataService) Query ¶
func (s *DataService) Query(in *slots.DataQueryRequest, stream slots.DataService_QueryServer) error
func (*DataService) QueryById ¶
func (s *DataService) QueryById(in *slots.DataQueryByIdRequest, stream slots.DataService_QueryByIdServer) error
func (*DataService) Upload ¶
func (s *DataService) Upload(ctx context.Context, in *slots.DataUploadRequest) (*slots.DataUploadResponse, error)
type DeviceService ¶
type DeviceService struct { slots.UnimplementedDeviceServiceServer // contains filtered or unexported fields }
type FnService ¶
type FnService struct { slots.UnimplementedFnServiceServer // contains filtered or unexported fields }
func (*FnService) List ¶
func (s *FnService) List(ctx context.Context, in *slots.FnListRequest) (*slots.FnListResponse, error)
func (*FnService) Pull ¶
func (s *FnService) Pull(ctx context.Context, in *slots.FnPullRequest) (*slots.FnPullResponse, error)
type LogicService ¶
type LogicService struct { slots.UnimplementedLogicServiceServer // contains filtered or unexported fields }
func (*LogicService) List ¶
func (s *LogicService) List(ctx context.Context, in *slots.LogicListRequest) (*slots.LogicListResponse, error)
func (*LogicService) Pull ¶
func (s *LogicService) Pull(ctx context.Context, in *slots.LogicPullRequest) (*slots.LogicPullResponse, error)
func (*LogicService) ViewWithDeleted ¶
type RgrpcService ¶
type RgrpcService struct { rgrpc.UnimplementedRgrpcServiceServer // contains filtered or unexported fields }
func (*RgrpcService) OpenRgrpc ¶
func (s *RgrpcService) OpenRgrpc(stream rgrpc.RgrpcService_OpenRgrpcServer) error
type SlotOption ¶
type SlotOption interface {
// contains filtered or unexported methods
}
type SlotService ¶
type SlotService struct { slots.UnimplementedSlotServiceServer // contains filtered or unexported fields }
func Slot ¶
func Slot(es *edge.EdgeService, opts ...SlotOption) (*SlotService, error)
func (*SlotService) Context ¶
func (ss *SlotService) Context() context.Context
func (*SlotService) Edge ¶
func (ss *SlotService) Edge() *edge.EdgeService
func (*SlotService) Link ¶
func (s *SlotService) Link(ctx context.Context, in *slots.SlotLinkRequest) (*pb.MyBool, error)
func (*SlotService) Logger ¶
func (ss *SlotService) Logger() *zap.Logger
func (*SlotService) Login ¶
func (s *SlotService) Login(ctx context.Context, in *slots.LoginSlotRequest) (*slots.LoginSlotReply, error)
func (*SlotService) RegisterGrpc ¶
func (ss *SlotService) RegisterGrpc(server *grpc.Server)
func (*SlotService) Start ¶
func (ss *SlotService) Start()
func (*SlotService) Stop ¶
func (ss *SlotService) Stop()
type SourceService ¶
type SourceService struct { slots.UnimplementedSourceServiceServer // contains filtered or unexported fields }
func (*SourceService) Link ¶
func (s *SourceService) Link(ctx context.Context, in *slots.SourceLinkRequest) (*pb.MyBool, error)
func (*SourceService) List ¶
func (s *SourceService) List(ctx context.Context, in *slots.SourceListRequest) (*slots.SourceListResponse, error)
func (*SourceService) Pull ¶
func (s *SourceService) Pull(ctx context.Context, in *slots.SourcePullRequest) (*slots.SourcePullResponse, error)
func (*SourceService) ViewWithDeleted ¶
type SyncService ¶
type SyncService struct { slots.UnimplementedSyncServiceServer // contains filtered or unexported fields }
func (*SyncService) GetAttrUpdated ¶
func (s *SyncService) GetAttrUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetClassUpdated ¶
func (s *SyncService) GetClassUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetConstUpdated ¶
func (s *SyncService) GetConstUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetDeviceUpdated ¶
func (s *SyncService) GetDeviceUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetFnUpdated ¶
func (s *SyncService) GetFnUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetLogicUpdated ¶
func (s *SyncService) GetLogicUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetOptionUpdated ¶
func (s *SyncService) GetOptionUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetSlotUpdated ¶
func (s *SyncService) GetSlotUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetSourceUpdated ¶
func (s *SyncService) GetSourceUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetTagUpdated ¶
func (s *SyncService) GetTagUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) GetTagValueUpdated ¶
func (s *SyncService) GetTagValueUpdated(ctx context.Context, in *pb.MyEmpty) (*slots.SyncUpdated, error)
func (*SyncService) SetAttrUpdated ¶
func (s *SyncService) SetAttrUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetClassUpdated ¶
func (s *SyncService) SetClassUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetConstUpdated ¶
func (s *SyncService) SetConstUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetDeviceUpdated ¶
func (s *SyncService) SetDeviceUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetFnUpdated ¶
func (s *SyncService) SetFnUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetLogicUpdated ¶
func (s *SyncService) SetLogicUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetOptionUpdated ¶
func (s *SyncService) SetOptionUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetSlotUpdated ¶
func (s *SyncService) SetSlotUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetSourceUpdated ¶
func (s *SyncService) SetSourceUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetTagUpdated ¶
func (s *SyncService) SetTagUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) SetTagValueUpdated ¶
func (s *SyncService) SetTagValueUpdated(ctx context.Context, in *slots.SyncUpdated) (*pb.MyBool, error)
func (*SyncService) WaitDeviceUpdated ¶
func (s *SyncService) WaitDeviceUpdated(in *pb.MyEmpty, stream slots.SyncService_WaitDeviceUpdatedServer) error
func (*SyncService) WaitTagValueUpdated ¶
func (s *SyncService) WaitTagValueUpdated(in *pb.MyEmpty, stream slots.SyncService_WaitTagValueUpdatedServer) error
type TagService ¶
type TagService struct { slots.UnimplementedTagServiceServer // contains filtered or unexported fields }
func (*TagService) DeleteValue ¶
func (*TagService) GetValueByName ¶
func (s *TagService) GetValueByName(ctx context.Context, in *pb.Name) (*pb.TagNameValue, error)
func (*TagService) List ¶
func (s *TagService) List(ctx context.Context, in *slots.TagListRequest) (*slots.TagListResponse, error)
func (*TagService) Pull ¶
func (s *TagService) Pull(ctx context.Context, in *slots.TagPullRequest) (*slots.TagPullResponse, error)
func (*TagService) PullValue ¶
func (s *TagService) PullValue(ctx context.Context, in *slots.TagPullValueRequest) (*slots.TagPullValueResponse, error)
func (*TagService) SetValueByName ¶
func (s *TagService) SetValueByName(ctx context.Context, in *pb.TagNameValue) (*pb.MyBool, error)
func (*TagService) SetValueByNameForce ¶
func (s *TagService) SetValueByNameForce(ctx context.Context, in *pb.TagNameValue) (*pb.MyBool, error)
func (*TagService) SetValueForce ¶
func (*TagService) ViewValue ¶
func (s *TagService) ViewValue(ctx context.Context, in *pb.Id) (*pb.TagValueUpdated, error)
func (*TagService) ViewWithDeleted ¶
Click to show internal directories.
Click to hide internal directories.