proto

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

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.

type ControllerHostServer

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) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetAuthor

func (x *Source) GetAuthor() string

func (*Source) GetCategory

func (x *Source) GetCategory() Source_Category

func (*Source) GetIcon added in v1.3.0

func (x *Source) GetIcon() string

func (*Source) GetId

func (x *Source) GetId() string

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetOrganization

func (x *Source) GetOrganization() string

func (*Source) GetUploadId added in v1.3.0

func (x *Source) GetUploadId() string

func (*Source) GetVersion

func (x *Source) GetVersion() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

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) 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 (Source_Category) String

func (x Source_Category) String() string

func (Source_Category) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Style.ProtoReflect.Descriptor instead.

func (*Style) GetBackgroundColor

func (x *Style) GetBackgroundColor() string

func (*Style) GetHighlightColor

func (x *Style) GetHighlightColor() string

func (*Style) GetPrimaryColor

func (x *Style) GetPrimaryColor() string

func (*Style) ProtoMessage

func (*Style) ProtoMessage()

func (*Style) ProtoReflect

func (x *Style) ProtoReflect() protoreflect.Message

func (*Style) Reset

func (x *Style) Reset()

func (*Style) String

func (x *Style) String() string

type UnimplementedControllerHostServer

type UnimplementedControllerHostServer struct {
}

UnimplementedControllerHostServer can be embedded to have forward compatible implementations.

func (*UnimplementedControllerHostServer) EmitWhisper

func (*UnimplementedControllerHostServer) StorageDelete added in v1.1.0

func (*UnimplementedControllerHostServer) StorageDeleteAll added in v1.1.0

func (*UnimplementedControllerHostServer) StorageHasKey added in v1.1.0

func (*UnimplementedControllerHostServer) StorageKeys added in v1.1.0

func (*UnimplementedControllerHostServer) StorageRead added in v1.1.0

func (*UnimplementedControllerHostServer) StorageReadAll added in v1.1.0

func (*UnimplementedControllerHostServer) StorageWrite added in v1.1.0

func (*UnimplementedControllerHostServer) UpdateWhisper added in v1.3.0

type UnimplementedControllerServer

type UnimplementedControllerServer struct {
}

UnimplementedControllerServer can be embedded to have forward compatible implementations.

func (*UnimplementedControllerServer) OnEvent

func (*UnimplementedControllerServer) Start

func (*UnimplementedControllerServer) Stop

type UnimplementedSensorHostServer

type UnimplementedSensorHostServer struct {
}

UnimplementedSensorHostServer can be embedded to have forward compatible implementations.

func (*UnimplementedSensorHostServer) EmitEvent

func (*UnimplementedSensorHostServer) StorageDelete added in v1.1.0

func (*UnimplementedSensorHostServer) StorageDeleteAll added in v1.1.0

func (*UnimplementedSensorHostServer) StorageDeleteAll(context.Context, *Empty) (*Empty, error)

func (*UnimplementedSensorHostServer) StorageHasKey added in v1.1.0

func (*UnimplementedSensorHostServer) StorageKeys added in v1.1.0

func (*UnimplementedSensorHostServer) StorageRead added in v1.1.0

func (*UnimplementedSensorHostServer) StorageReadAll added in v1.1.0

func (*UnimplementedSensorHostServer) StorageWrite added in v1.1.0

type UnimplementedSensorServer

type UnimplementedSensorServer struct {
}

UnimplementedSensorServer can be embedded to have forward compatible implementations.

func (*UnimplementedSensorServer) OnEvent

func (*UnimplementedSensorServer) Start

func (*UnimplementedSensorServer) Stop

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) Descriptor() ([]byte, []int)

Deprecated: Use Whisper.ProtoReflect.Descriptor instead.

func (*Whisper) GetIcon

func (x *Whisper) GetIcon() string

func (*Whisper) GetLabel

func (x *Whisper) GetLabel() string

func (*Whisper) GetMarkdown

func (x *Whisper) GetMarkdown() string

func (*Whisper) GetStyle

func (x *Whisper) GetStyle() *Style

func (*Whisper) ProtoMessage

func (*Whisper) ProtoMessage()

func (*Whisper) ProtoReflect

func (x *Whisper) ProtoReflect() protoreflect.Message

func (*Whisper) Reset

func (x *Whisper) Reset()

func (*Whisper) String

func (x *Whisper) String() string

Jump to

Keyboard shortcuts

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