Documentation
¶
Index ¶
- Variables
- func RegisterControllerHostServer(s *grpc.Server, srv ControllerHostServer)
- func RegisterControllerServer(s *grpc.Server, srv ControllerServer)
- func RegisterSensorHostServer(s *grpc.Server, srv SensorHostServer)
- func RegisterSensorServer(s *grpc.Server, srv SensorServer)
- type ControllerClient
- type ControllerHostClient
- type ControllerHostServer
- type ControllerServer
- type EmitEventRequest
- type EmitWhisperRequest
- func (*EmitWhisperRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EmitWhisperRequest) GetWhisper() *Whisper
- func (*EmitWhisperRequest) ProtoMessage()
- func (x *EmitWhisperRequest) ProtoReflect() protoreflect.Message
- func (x *EmitWhisperRequest) Reset()
- func (x *EmitWhisperRequest) String() string
- type EmitWhisperResponse
- func (*EmitWhisperResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EmitWhisperResponse) GetId() string
- func (*EmitWhisperResponse) ProtoMessage()
- func (x *EmitWhisperResponse) ProtoReflect() protoreflect.Message
- func (x *EmitWhisperResponse) Reset()
- func (x *EmitWhisperResponse) String() string
- type Empty
- type OnEventRequest
- func (*OnEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnEventRequest) GetData() map[string]string
- func (x *OnEventRequest) GetSource() *Source
- func (*OnEventRequest) ProtoMessage()
- func (x *OnEventRequest) ProtoReflect() protoreflect.Message
- func (x *OnEventRequest) Reset()
- func (x *OnEventRequest) String() string
- type SensorClient
- type SensorHostClient
- type SensorHostServer
- type SensorServer
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetAuthor() string
- func (x *Source) GetCategory() Source_Category
- func (x *Source) GetIcon() string
- func (x *Source) GetId() string
- func (x *Source) GetName() string
- func (x *Source) GetOrganization() string
- func (x *Source) GetUploadId() string
- func (x *Source) GetVersion() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- type Source_Category
- func (Source_Category) Descriptor() protoreflect.EnumDescriptor
- func (x Source_Category) Enum() *Source_Category
- func (Source_Category) EnumDescriptor() ([]byte, []int)deprecated
- func (x Source_Category) Number() protoreflect.EnumNumber
- func (x Source_Category) String() string
- func (Source_Category) Type() protoreflect.EnumType
- type StartRequest
- type StorageDeleteRequest
- func (*StorageDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StorageDeleteRequest) GetKey() string
- func (*StorageDeleteRequest) ProtoMessage()
- func (x *StorageDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *StorageDeleteRequest) Reset()
- func (x *StorageDeleteRequest) String() string
- type StorageHasKeyRequest
- func (*StorageHasKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StorageHasKeyRequest) GetKey() string
- func (*StorageHasKeyRequest) ProtoMessage()
- func (x *StorageHasKeyRequest) ProtoReflect() protoreflect.Message
- func (x *StorageHasKeyRequest) Reset()
- func (x *StorageHasKeyRequest) String() string
- type StorageHasKeyResponse
- func (*StorageHasKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageHasKeyResponse) GetHasKey() bool
- func (*StorageHasKeyResponse) ProtoMessage()
- func (x *StorageHasKeyResponse) ProtoReflect() protoreflect.Message
- func (x *StorageHasKeyResponse) Reset()
- func (x *StorageHasKeyResponse) String() string
- type StorageKeysResponse
- func (*StorageKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageKeysResponse) GetKeys() []string
- func (*StorageKeysResponse) ProtoMessage()
- func (x *StorageKeysResponse) ProtoReflect() protoreflect.Message
- func (x *StorageKeysResponse) Reset()
- func (x *StorageKeysResponse) String() string
- type StorageReadAllResponse
- func (*StorageReadAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageReadAllResponse) GetEntries() map[string]string
- func (*StorageReadAllResponse) ProtoMessage()
- func (x *StorageReadAllResponse) ProtoReflect() protoreflect.Message
- func (x *StorageReadAllResponse) Reset()
- func (x *StorageReadAllResponse) String() string
- type StorageReadRequest
- type StorageReadResponse
- func (*StorageReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageReadResponse) GetValue() string
- func (*StorageReadResponse) ProtoMessage()
- func (x *StorageReadResponse) ProtoReflect() protoreflect.Message
- func (x *StorageReadResponse) Reset()
- func (x *StorageReadResponse) String() string
- type StorageWriteRequest
- func (*StorageWriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StorageWriteRequest) GetKey() string
- func (x *StorageWriteRequest) GetValue() string
- func (*StorageWriteRequest) ProtoMessage()
- func (x *StorageWriteRequest) ProtoReflect() protoreflect.Message
- func (x *StorageWriteRequest) Reset()
- func (x *StorageWriteRequest) String() string
- type Style
- func (*Style) Descriptor() ([]byte, []int)deprecated
- func (x *Style) GetBackgroundColor() string
- func (x *Style) GetHighlightColor() string
- func (x *Style) GetPrimaryColor() string
- func (*Style) ProtoMessage()
- func (x *Style) ProtoReflect() protoreflect.Message
- func (x *Style) Reset()
- func (x *Style) String() string
- type UnimplementedControllerHostServer
- func (*UnimplementedControllerHostServer) EmitWhisper(context.Context, *EmitWhisperRequest) (*EmitWhisperResponse, error)
- func (*UnimplementedControllerHostServer) StorageDelete(context.Context, *StorageDeleteRequest) (*Empty, error)
- func (*UnimplementedControllerHostServer) StorageDeleteAll(context.Context, *Empty) (*Empty, error)
- func (*UnimplementedControllerHostServer) StorageHasKey(context.Context, *StorageHasKeyRequest) (*StorageHasKeyResponse, error)
- func (*UnimplementedControllerHostServer) StorageKeys(context.Context, *Empty) (*StorageKeysResponse, error)
- func (*UnimplementedControllerHostServer) StorageRead(context.Context, *StorageReadRequest) (*StorageReadResponse, error)
- func (*UnimplementedControllerHostServer) StorageReadAll(context.Context, *Empty) (*StorageReadAllResponse, error)
- func (*UnimplementedControllerHostServer) StorageWrite(context.Context, *StorageWriteRequest) (*Empty, error)
- func (*UnimplementedControllerHostServer) UpdateWhisper(context.Context, *UpdateWhisperRequest) (*Empty, error)
- type UnimplementedControllerServer
- type UnimplementedSensorHostServer
- func (*UnimplementedSensorHostServer) EmitEvent(context.Context, *EmitEventRequest) (*Empty, error)
- func (*UnimplementedSensorHostServer) StorageDelete(context.Context, *StorageDeleteRequest) (*Empty, error)
- func (*UnimplementedSensorHostServer) StorageDeleteAll(context.Context, *Empty) (*Empty, error)
- func (*UnimplementedSensorHostServer) StorageHasKey(context.Context, *StorageHasKeyRequest) (*StorageHasKeyResponse, error)
- func (*UnimplementedSensorHostServer) StorageKeys(context.Context, *Empty) (*StorageKeysResponse, error)
- func (*UnimplementedSensorHostServer) StorageRead(context.Context, *StorageReadRequest) (*StorageReadResponse, error)
- func (*UnimplementedSensorHostServer) StorageReadAll(context.Context, *Empty) (*StorageReadAllResponse, error)
- func (*UnimplementedSensorHostServer) StorageWrite(context.Context, *StorageWriteRequest) (*Empty, error)
- type UnimplementedSensorServer
- type UpdateWhisperRequest
- func (*UpdateWhisperRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWhisperRequest) GetId() string
- func (x *UpdateWhisperRequest) GetWhisper() *Whisper
- func (*UpdateWhisperRequest) ProtoMessage()
- func (x *UpdateWhisperRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWhisperRequest) Reset()
- func (x *UpdateWhisperRequest) String() string
- type Whisper
- func (*Whisper) Descriptor() ([]byte, []int)deprecated
- func (x *Whisper) GetIcon() string
- func (x *Whisper) GetLabel() string
- func (x *Whisper) GetMarkdown() string
- func (x *Whisper) GetStyle() *Style
- func (*Whisper) ProtoMessage()
- func (x *Whisper) ProtoReflect() protoreflect.Message
- func (x *Whisper) Reset()
- func (x *Whisper) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Source_Category_name = map[int32]string{ 0: "UNKNOWN", 1: "SENSOR", 2: "CONTROLLER", 3: "INTELLIGENCE", 4: "SIDEKICK", } Source_Category_value = map[string]int32{ "UNKNOWN": 0, "SENSOR": 1, "CONTROLLER": 2, "INTELLIGENCE": 3, "SIDEKICK": 4, } )
Enum value maps for Source_Category.
var File_ldk_proto protoreflect.FileDescriptor
Functions ¶
func RegisterControllerHostServer ¶
func RegisterControllerHostServer(s *grpc.Server, srv ControllerHostServer)
func RegisterControllerServer ¶
func RegisterControllerServer(s *grpc.Server, srv ControllerServer)
func RegisterSensorHostServer ¶
func RegisterSensorHostServer(s *grpc.Server, srv SensorHostServer)
func RegisterSensorServer ¶
func RegisterSensorServer(s *grpc.Server, srv SensorServer)
Types ¶
type ControllerClient ¶
type ControllerClient interface {
Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*Empty, error)
Stop(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
OnEvent(ctx context.Context, in *OnEventRequest, opts ...grpc.CallOption) (*Empty, error)
}
ControllerClient is the client API for Controller service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewControllerClient ¶
func NewControllerClient(cc grpc.ClientConnInterface) ControllerClient
type ControllerHostClient ¶
type ControllerHostClient interface {
EmitWhisper(ctx context.Context, in *EmitWhisperRequest, opts ...grpc.CallOption) (*EmitWhisperResponse, error)
StorageDelete(ctx context.Context, in *StorageDeleteRequest, opts ...grpc.CallOption) (*Empty, error)
StorageDeleteAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
StorageHasKey(ctx context.Context, in *StorageHasKeyRequest, opts ...grpc.CallOption) (*StorageHasKeyResponse, error)
StorageKeys(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StorageKeysResponse, error)
StorageRead(ctx context.Context, in *StorageReadRequest, opts ...grpc.CallOption) (*StorageReadResponse, error)
StorageReadAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StorageReadAllResponse, error)
StorageWrite(ctx context.Context, in *StorageWriteRequest, opts ...grpc.CallOption) (*Empty, error)
UpdateWhisper(ctx context.Context, in *UpdateWhisperRequest, opts ...grpc.CallOption) (*Empty, error)
}
ControllerHostClient is the client API for ControllerHost service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewControllerHostClient ¶
func NewControllerHostClient(cc grpc.ClientConnInterface) ControllerHostClient
type ControllerHostServer ¶
type ControllerHostServer interface {
EmitWhisper(context.Context, *EmitWhisperRequest) (*EmitWhisperResponse, error)
StorageDelete(context.Context, *StorageDeleteRequest) (*Empty, error)
StorageDeleteAll(context.Context, *Empty) (*Empty, error)
StorageHasKey(context.Context, *StorageHasKeyRequest) (*StorageHasKeyResponse, error)
StorageKeys(context.Context, *Empty) (*StorageKeysResponse, error)
StorageRead(context.Context, *StorageReadRequest) (*StorageReadResponse, error)
StorageReadAll(context.Context, *Empty) (*StorageReadAllResponse, error)
StorageWrite(context.Context, *StorageWriteRequest) (*Empty, error)
UpdateWhisper(context.Context, *UpdateWhisperRequest) (*Empty, error)
}
ControllerHostServer is the server API for ControllerHost service.
type ControllerServer ¶
type ControllerServer interface {
Start(context.Context, *StartRequest) (*Empty, error)
Stop(context.Context, *Empty) (*Empty, error)
OnEvent(context.Context, *OnEventRequest) (*Empty, error)
}
ControllerServer is the server API for Controller service.
type EmitEventRequest ¶
type EmitEventRequest struct {
Data map[string]string `` /* 149-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*EmitEventRequest) Descriptor
deprecated
func (*EmitEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmitEventRequest.ProtoReflect.Descriptor instead.
func (*EmitEventRequest) GetData ¶
func (x *EmitEventRequest) GetData() map[string]string
func (*EmitEventRequest) ProtoMessage ¶
func (*EmitEventRequest) ProtoMessage()
func (*EmitEventRequest) ProtoReflect ¶
func (x *EmitEventRequest) ProtoReflect() protoreflect.Message
func (*EmitEventRequest) Reset ¶
func (x *EmitEventRequest) Reset()
func (*EmitEventRequest) String ¶
func (x *EmitEventRequest) String() string
type EmitWhisperRequest ¶
type EmitWhisperRequest struct {
Whisper *Whisper `protobuf:"bytes,1,opt,name=whisper,proto3" json:"whisper,omitempty"`
// contains filtered or unexported fields
}
func (*EmitWhisperRequest) Descriptor
deprecated
func (*EmitWhisperRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmitWhisperRequest.ProtoReflect.Descriptor instead.
func (*EmitWhisperRequest) GetWhisper ¶
func (x *EmitWhisperRequest) GetWhisper() *Whisper
func (*EmitWhisperRequest) ProtoMessage ¶
func (*EmitWhisperRequest) ProtoMessage()
func (*EmitWhisperRequest) ProtoReflect ¶
func (x *EmitWhisperRequest) ProtoReflect() protoreflect.Message
func (*EmitWhisperRequest) Reset ¶
func (x *EmitWhisperRequest) Reset()
func (*EmitWhisperRequest) String ¶
func (x *EmitWhisperRequest) String() string
type EmitWhisperResponse ¶ added in v1.3.0
type EmitWhisperResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*EmitWhisperResponse) Descriptor
deprecated
added in
v1.3.0
func (*EmitWhisperResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmitWhisperResponse.ProtoReflect.Descriptor instead.
func (*EmitWhisperResponse) GetId ¶ added in v1.3.0
func (x *EmitWhisperResponse) GetId() string
func (*EmitWhisperResponse) ProtoMessage ¶ added in v1.3.0
func (*EmitWhisperResponse) ProtoMessage()
func (*EmitWhisperResponse) ProtoReflect ¶ added in v1.3.0
func (x *EmitWhisperResponse) ProtoReflect() protoreflect.Message
func (*EmitWhisperResponse) Reset ¶ added in v1.3.0
func (x *EmitWhisperResponse) Reset()
func (*EmitWhisperResponse) String ¶ added in v1.3.0
func (x *EmitWhisperResponse) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type OnEventRequest ¶
type OnEventRequest struct {
Data map[string]string `` /* 149-byte string literal not displayed */
Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// contains filtered or unexported fields
}
func (*OnEventRequest) Descriptor
deprecated
func (*OnEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use OnEventRequest.ProtoReflect.Descriptor instead.
func (*OnEventRequest) GetData ¶
func (x *OnEventRequest) GetData() map[string]string
func (*OnEventRequest) GetSource ¶
func (x *OnEventRequest) GetSource() *Source
func (*OnEventRequest) ProtoMessage ¶
func (*OnEventRequest) ProtoMessage()
func (*OnEventRequest) ProtoReflect ¶
func (x *OnEventRequest) ProtoReflect() protoreflect.Message
func (*OnEventRequest) Reset ¶
func (x *OnEventRequest) Reset()
func (*OnEventRequest) String ¶
func (x *OnEventRequest) String() string
type SensorClient ¶
type SensorClient interface {
Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*Empty, error)
Stop(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
OnEvent(ctx context.Context, in *OnEventRequest, opts ...grpc.CallOption) (*Empty, error)
}
SensorClient is the client API for Sensor service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSensorClient ¶
func NewSensorClient(cc grpc.ClientConnInterface) SensorClient
type SensorHostClient ¶
type SensorHostClient interface {
EmitEvent(ctx context.Context, in *EmitEventRequest, opts ...grpc.CallOption) (*Empty, error)
StorageDelete(ctx context.Context, in *StorageDeleteRequest, opts ...grpc.CallOption) (*Empty, error)
StorageDeleteAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
StorageHasKey(ctx context.Context, in *StorageHasKeyRequest, opts ...grpc.CallOption) (*StorageHasKeyResponse, error)
StorageKeys(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StorageKeysResponse, error)
StorageRead(ctx context.Context, in *StorageReadRequest, opts ...grpc.CallOption) (*StorageReadResponse, error)
StorageReadAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StorageReadAllResponse, error)
StorageWrite(ctx context.Context, in *StorageWriteRequest, opts ...grpc.CallOption) (*Empty, error)
}
SensorHostClient is the client API for SensorHost service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSensorHostClient ¶
func NewSensorHostClient(cc grpc.ClientConnInterface) SensorHostClient
type SensorHostServer ¶
type SensorHostServer interface {
EmitEvent(context.Context, *EmitEventRequest) (*Empty, error)
StorageDelete(context.Context, *StorageDeleteRequest) (*Empty, error)
StorageDeleteAll(context.Context, *Empty) (*Empty, error)
StorageHasKey(context.Context, *StorageHasKeyRequest) (*StorageHasKeyResponse, error)
StorageKeys(context.Context, *Empty) (*StorageKeysResponse, error)
StorageRead(context.Context, *StorageReadRequest) (*StorageReadResponse, error)
StorageReadAll(context.Context, *Empty) (*StorageReadAllResponse, error)
StorageWrite(context.Context, *StorageWriteRequest) (*Empty, error)
}
SensorHostServer is the server API for SensorHost service.
type SensorServer ¶
type SensorServer interface {
Start(context.Context, *StartRequest) (*Empty, error)
Stop(context.Context, *Empty) (*Empty, error)
OnEvent(context.Context, *OnEventRequest) (*Empty, error)
}
SensorServer is the server API for Sensor service.
type Source ¶
type Source struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Category Source_Category `protobuf:"varint,2,opt,name=category,proto3,enum=proto.Source_Category" json:"category,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Author string `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
Organization string `protobuf:"bytes,5,opt,name=organization,proto3" json:"organization,omitempty"`
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
UploadId string `protobuf:"bytes,7,opt,name=uploadId,proto3" json:"uploadId,omitempty"`
Icon string `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
// contains filtered or unexported fields
}
func (*Source) Descriptor
deprecated
func (*Source) GetCategory ¶
func (x *Source) GetCategory() Source_Category
func (*Source) GetOrganization ¶
func (*Source) GetUploadId ¶ added in v1.3.0
func (*Source) GetVersion ¶
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
type Source_Category ¶
type Source_Category int32
const ( Source_UNKNOWN Source_Category = 0 Source_SENSOR Source_Category = 1 Source_CONTROLLER Source_Category = 2 Source_INTELLIGENCE Source_Category = 3 Source_SIDEKICK Source_Category = 4 )
func (Source_Category) Descriptor ¶
func (Source_Category) Descriptor() protoreflect.EnumDescriptor
func (Source_Category) Enum ¶
func (x Source_Category) Enum() *Source_Category
func (Source_Category) EnumDescriptor
deprecated
func (Source_Category) EnumDescriptor() ([]byte, []int)
Deprecated: Use Source_Category.Descriptor instead.
func (Source_Category) Number ¶
func (x Source_Category) Number() protoreflect.EnumNumber
func (Source_Category) String ¶
func (x Source_Category) String() string
func (Source_Category) Type ¶
func (Source_Category) Type() protoreflect.EnumType
type StartRequest ¶
type StartRequest struct {
Host uint32 `protobuf:"varint,1,opt,name=host,proto3" json:"host,omitempty"`
// contains filtered or unexported fields
}
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) GetHost ¶
func (x *StartRequest) GetHost() uint32
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type StorageDeleteRequest ¶ added in v1.1.0
type StorageDeleteRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*StorageDeleteRequest) Descriptor
deprecated
added in
v1.1.0
func (*StorageDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageDeleteRequest.ProtoReflect.Descriptor instead.
func (*StorageDeleteRequest) GetKey ¶ added in v1.1.0
func (x *StorageDeleteRequest) GetKey() string
func (*StorageDeleteRequest) ProtoMessage ¶ added in v1.1.0
func (*StorageDeleteRequest) ProtoMessage()
func (*StorageDeleteRequest) ProtoReflect ¶ added in v1.1.0
func (x *StorageDeleteRequest) ProtoReflect() protoreflect.Message
func (*StorageDeleteRequest) Reset ¶ added in v1.1.0
func (x *StorageDeleteRequest) Reset()
func (*StorageDeleteRequest) String ¶ added in v1.1.0
func (x *StorageDeleteRequest) String() string
type StorageHasKeyRequest ¶ added in v1.1.0
type StorageHasKeyRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*StorageHasKeyRequest) Descriptor
deprecated
added in
v1.1.0
func (*StorageHasKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageHasKeyRequest.ProtoReflect.Descriptor instead.
func (*StorageHasKeyRequest) GetKey ¶ added in v1.1.0
func (x *StorageHasKeyRequest) GetKey() string
func (*StorageHasKeyRequest) ProtoMessage ¶ added in v1.1.0
func (*StorageHasKeyRequest) ProtoMessage()
func (*StorageHasKeyRequest) ProtoReflect ¶ added in v1.1.0
func (x *StorageHasKeyRequest) ProtoReflect() protoreflect.Message
func (*StorageHasKeyRequest) Reset ¶ added in v1.1.0
func (x *StorageHasKeyRequest) Reset()
func (*StorageHasKeyRequest) String ¶ added in v1.1.0
func (x *StorageHasKeyRequest) String() string
type StorageHasKeyResponse ¶ added in v1.1.0
type StorageHasKeyResponse struct {
HasKey bool `protobuf:"varint,1,opt,name=hasKey,proto3" json:"hasKey,omitempty"`
// contains filtered or unexported fields
}
func (*StorageHasKeyResponse) Descriptor
deprecated
added in
v1.1.0
func (*StorageHasKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageHasKeyResponse.ProtoReflect.Descriptor instead.
func (*StorageHasKeyResponse) GetHasKey ¶ added in v1.1.0
func (x *StorageHasKeyResponse) GetHasKey() bool
func (*StorageHasKeyResponse) ProtoMessage ¶ added in v1.1.0
func (*StorageHasKeyResponse) ProtoMessage()
func (*StorageHasKeyResponse) ProtoReflect ¶ added in v1.1.0
func (x *StorageHasKeyResponse) ProtoReflect() protoreflect.Message
func (*StorageHasKeyResponse) Reset ¶ added in v1.1.0
func (x *StorageHasKeyResponse) Reset()
func (*StorageHasKeyResponse) String ¶ added in v1.1.0
func (x *StorageHasKeyResponse) String() string
type StorageKeysResponse ¶ added in v1.1.0
type StorageKeysResponse struct {
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
func (*StorageKeysResponse) Descriptor
deprecated
added in
v1.1.0
func (*StorageKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageKeysResponse.ProtoReflect.Descriptor instead.
func (*StorageKeysResponse) GetKeys ¶ added in v1.1.0
func (x *StorageKeysResponse) GetKeys() []string
func (*StorageKeysResponse) ProtoMessage ¶ added in v1.1.0
func (*StorageKeysResponse) ProtoMessage()
func (*StorageKeysResponse) ProtoReflect ¶ added in v1.1.0
func (x *StorageKeysResponse) ProtoReflect() protoreflect.Message
func (*StorageKeysResponse) Reset ¶ added in v1.1.0
func (x *StorageKeysResponse) Reset()
func (*StorageKeysResponse) String ¶ added in v1.1.0
func (x *StorageKeysResponse) String() string
type StorageReadAllResponse ¶ added in v1.1.0
type StorageReadAllResponse struct {
Entries map[string]string `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StorageReadAllResponse) Descriptor
deprecated
added in
v1.1.0
func (*StorageReadAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageReadAllResponse.ProtoReflect.Descriptor instead.
func (*StorageReadAllResponse) GetEntries ¶ added in v1.1.0
func (x *StorageReadAllResponse) GetEntries() map[string]string
func (*StorageReadAllResponse) ProtoMessage ¶ added in v1.1.0
func (*StorageReadAllResponse) ProtoMessage()
func (*StorageReadAllResponse) ProtoReflect ¶ added in v1.1.0
func (x *StorageReadAllResponse) ProtoReflect() protoreflect.Message
func (*StorageReadAllResponse) Reset ¶ added in v1.1.0
func (x *StorageReadAllResponse) Reset()
func (*StorageReadAllResponse) String ¶ added in v1.1.0
func (x *StorageReadAllResponse) String() string
type StorageReadRequest ¶ added in v1.1.0
type StorageReadRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*StorageReadRequest) Descriptor
deprecated
added in
v1.1.0
func (*StorageReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageReadRequest.ProtoReflect.Descriptor instead.
func (*StorageReadRequest) GetKey ¶ added in v1.1.0
func (x *StorageReadRequest) GetKey() string
func (*StorageReadRequest) ProtoMessage ¶ added in v1.1.0
func (*StorageReadRequest) ProtoMessage()
func (*StorageReadRequest) ProtoReflect ¶ added in v1.1.0
func (x *StorageReadRequest) ProtoReflect() protoreflect.Message
func (*StorageReadRequest) Reset ¶ added in v1.1.0
func (x *StorageReadRequest) Reset()
func (*StorageReadRequest) String ¶ added in v1.1.0
func (x *StorageReadRequest) String() string
type StorageReadResponse ¶ added in v1.1.0
type StorageReadResponse struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*StorageReadResponse) Descriptor
deprecated
added in
v1.1.0
func (*StorageReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageReadResponse.ProtoReflect.Descriptor instead.
func (*StorageReadResponse) GetValue ¶ added in v1.1.0
func (x *StorageReadResponse) GetValue() string
func (*StorageReadResponse) ProtoMessage ¶ added in v1.1.0
func (*StorageReadResponse) ProtoMessage()
func (*StorageReadResponse) ProtoReflect ¶ added in v1.1.0
func (x *StorageReadResponse) ProtoReflect() protoreflect.Message
func (*StorageReadResponse) Reset ¶ added in v1.1.0
func (x *StorageReadResponse) Reset()
func (*StorageReadResponse) String ¶ added in v1.1.0
func (x *StorageReadResponse) String() string
type StorageWriteRequest ¶ added in v1.1.0
type StorageWriteRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*StorageWriteRequest) Descriptor
deprecated
added in
v1.1.0
func (*StorageWriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageWriteRequest.ProtoReflect.Descriptor instead.
func (*StorageWriteRequest) GetKey ¶ added in v1.1.0
func (x *StorageWriteRequest) GetKey() string
func (*StorageWriteRequest) GetValue ¶ added in v1.1.0
func (x *StorageWriteRequest) GetValue() string
func (*StorageWriteRequest) ProtoMessage ¶ added in v1.1.0
func (*StorageWriteRequest) ProtoMessage()
func (*StorageWriteRequest) ProtoReflect ¶ added in v1.1.0
func (x *StorageWriteRequest) ProtoReflect() protoreflect.Message
func (*StorageWriteRequest) Reset ¶ added in v1.1.0
func (x *StorageWriteRequest) Reset()
func (*StorageWriteRequest) String ¶ added in v1.1.0
func (x *StorageWriteRequest) String() string
type Style ¶
type Style struct {
BackgroundColor string `protobuf:"bytes,1,opt,name=backgroundColor,proto3" json:"backgroundColor,omitempty"`
PrimaryColor string `protobuf:"bytes,2,opt,name=primaryColor,proto3" json:"primaryColor,omitempty"`
HighlightColor string `protobuf:"bytes,3,opt,name=highlightColor,proto3" json:"highlightColor,omitempty"`
// contains filtered or unexported fields
}
func (*Style) Descriptor
deprecated
func (*Style) GetBackgroundColor ¶
func (*Style) GetHighlightColor ¶
func (*Style) GetPrimaryColor ¶
func (*Style) ProtoMessage ¶
func (*Style) ProtoMessage()
func (*Style) ProtoReflect ¶
func (x *Style) ProtoReflect() protoreflect.Message
type UnimplementedControllerHostServer ¶
type UnimplementedControllerHostServer struct {
}
UnimplementedControllerHostServer can be embedded to have forward compatible implementations.
func (*UnimplementedControllerHostServer) EmitWhisper ¶
func (*UnimplementedControllerHostServer) EmitWhisper(context.Context, *EmitWhisperRequest) (*EmitWhisperResponse, error)
func (*UnimplementedControllerHostServer) StorageDelete ¶ added in v1.1.0
func (*UnimplementedControllerHostServer) StorageDelete(context.Context, *StorageDeleteRequest) (*Empty, error)
func (*UnimplementedControllerHostServer) StorageDeleteAll ¶ added in v1.1.0
func (*UnimplementedControllerHostServer) StorageHasKey ¶ added in v1.1.0
func (*UnimplementedControllerHostServer) StorageHasKey(context.Context, *StorageHasKeyRequest) (*StorageHasKeyResponse, error)
func (*UnimplementedControllerHostServer) StorageKeys ¶ added in v1.1.0
func (*UnimplementedControllerHostServer) StorageKeys(context.Context, *Empty) (*StorageKeysResponse, error)
func (*UnimplementedControllerHostServer) StorageRead ¶ added in v1.1.0
func (*UnimplementedControllerHostServer) StorageRead(context.Context, *StorageReadRequest) (*StorageReadResponse, error)
func (*UnimplementedControllerHostServer) StorageReadAll ¶ added in v1.1.0
func (*UnimplementedControllerHostServer) StorageReadAll(context.Context, *Empty) (*StorageReadAllResponse, error)
func (*UnimplementedControllerHostServer) StorageWrite ¶ added in v1.1.0
func (*UnimplementedControllerHostServer) StorageWrite(context.Context, *StorageWriteRequest) (*Empty, error)
func (*UnimplementedControllerHostServer) UpdateWhisper ¶ added in v1.3.0
func (*UnimplementedControllerHostServer) UpdateWhisper(context.Context, *UpdateWhisperRequest) (*Empty, error)
type UnimplementedControllerServer ¶
type UnimplementedControllerServer struct {
}
UnimplementedControllerServer can be embedded to have forward compatible implementations.
func (*UnimplementedControllerServer) OnEvent ¶
func (*UnimplementedControllerServer) OnEvent(context.Context, *OnEventRequest) (*Empty, error)
func (*UnimplementedControllerServer) Start ¶
func (*UnimplementedControllerServer) Start(context.Context, *StartRequest) (*Empty, error)
type UnimplementedSensorHostServer ¶
type UnimplementedSensorHostServer struct {
}
UnimplementedSensorHostServer can be embedded to have forward compatible implementations.
func (*UnimplementedSensorHostServer) EmitEvent ¶
func (*UnimplementedSensorHostServer) EmitEvent(context.Context, *EmitEventRequest) (*Empty, error)
func (*UnimplementedSensorHostServer) StorageDelete ¶ added in v1.1.0
func (*UnimplementedSensorHostServer) StorageDelete(context.Context, *StorageDeleteRequest) (*Empty, error)
func (*UnimplementedSensorHostServer) StorageDeleteAll ¶ added in v1.1.0
func (*UnimplementedSensorHostServer) StorageHasKey ¶ added in v1.1.0
func (*UnimplementedSensorHostServer) StorageHasKey(context.Context, *StorageHasKeyRequest) (*StorageHasKeyResponse, error)
func (*UnimplementedSensorHostServer) StorageKeys ¶ added in v1.1.0
func (*UnimplementedSensorHostServer) StorageKeys(context.Context, *Empty) (*StorageKeysResponse, error)
func (*UnimplementedSensorHostServer) StorageRead ¶ added in v1.1.0
func (*UnimplementedSensorHostServer) StorageRead(context.Context, *StorageReadRequest) (*StorageReadResponse, error)
func (*UnimplementedSensorHostServer) StorageReadAll ¶ added in v1.1.0
func (*UnimplementedSensorHostServer) StorageReadAll(context.Context, *Empty) (*StorageReadAllResponse, error)
func (*UnimplementedSensorHostServer) StorageWrite ¶ added in v1.1.0
func (*UnimplementedSensorHostServer) StorageWrite(context.Context, *StorageWriteRequest) (*Empty, error)
type UnimplementedSensorServer ¶
type UnimplementedSensorServer struct {
}
UnimplementedSensorServer can be embedded to have forward compatible implementations.
func (*UnimplementedSensorServer) OnEvent ¶
func (*UnimplementedSensorServer) OnEvent(context.Context, *OnEventRequest) (*Empty, error)
func (*UnimplementedSensorServer) Start ¶
func (*UnimplementedSensorServer) Start(context.Context, *StartRequest) (*Empty, error)
type UpdateWhisperRequest ¶ added in v1.3.0
type UpdateWhisperRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Whisper *Whisper `protobuf:"bytes,2,opt,name=whisper,proto3" json:"whisper,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateWhisperRequest) Descriptor
deprecated
added in
v1.3.0
func (*UpdateWhisperRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWhisperRequest.ProtoReflect.Descriptor instead.
func (*UpdateWhisperRequest) GetId ¶ added in v1.3.0
func (x *UpdateWhisperRequest) GetId() string
func (*UpdateWhisperRequest) GetWhisper ¶ added in v1.3.0
func (x *UpdateWhisperRequest) GetWhisper() *Whisper
func (*UpdateWhisperRequest) ProtoMessage ¶ added in v1.3.0
func (*UpdateWhisperRequest) ProtoMessage()
func (*UpdateWhisperRequest) ProtoReflect ¶ added in v1.3.0
func (x *UpdateWhisperRequest) ProtoReflect() protoreflect.Message
func (*UpdateWhisperRequest) Reset ¶ added in v1.3.0
func (x *UpdateWhisperRequest) Reset()
func (*UpdateWhisperRequest) String ¶ added in v1.3.0
func (x *UpdateWhisperRequest) String() string
type Whisper ¶
type Whisper struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
Markdown string `protobuf:"bytes,2,opt,name=markdown,proto3" json:"markdown,omitempty"`
Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
Style *Style `protobuf:"bytes,4,opt,name=style,proto3" json:"style,omitempty"`
// contains filtered or unexported fields
}
func (*Whisper) Descriptor
deprecated
func (*Whisper) GetMarkdown ¶
func (*Whisper) ProtoMessage ¶
func (*Whisper) ProtoMessage()
func (*Whisper) ProtoReflect ¶
func (x *Whisper) ProtoReflect() protoreflect.Message