Documentation
¶
Index ¶
- func RegisterUiServer(s *grpc.Server, srv UiServer)
- type CameraConfig
- func (*CameraConfig) Descriptor() ([]byte, []int)
- func (m *CameraConfig) GetEnabled() bool
- func (m *CameraConfig) GetIp() string
- func (m *CameraConfig) GetLocation() string
- func (m *CameraConfig) GetName() string
- func (m *CameraConfig) GetPassword() string
- func (m *CameraConfig) GetPort() int32
- func (m *CameraConfig) GetProtocol() string
- func (m *CameraConfig) GetUsername() string
- func (*CameraConfig) ProtoMessage()
- func (m *CameraConfig) Reset()
- func (m *CameraConfig) String() string
- func (m *CameraConfig) XXX_DiscardUnknown()
- func (m *CameraConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CameraConfig) XXX_Merge(src proto.Message)
- func (m *CameraConfig) XXX_Size() int
- func (m *CameraConfig) XXX_Unmarshal(b []byte) error
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetCamera() []*CameraConfig
- func (m *Config) GetConfigured() bool
- func (m *Config) GetHostname() string
- func (m *Config) GetNodeName() string
- func (m *Config) GetPassword() string
- func (m *Config) GetPasswordAgain() string
- func (m *Config) GetStorage() []*StorageConfig
- func (m *Config) GetUuid() string
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetCreatedAt() *timestamp.Timestamp
- func (m *Event) GetDuration() int64
- func (m *Event) GetId() string
- func (m *Event) GetSensor() string
- func (m *Event) GetSource() string
- func (m *Event) GetType() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type GetConfigReq
- func (*GetConfigReq) Descriptor() ([]byte, []int)
- func (*GetConfigReq) ProtoMessage()
- func (m *GetConfigReq) Reset()
- func (m *GetConfigReq) String() string
- func (m *GetConfigReq) XXX_DiscardUnknown()
- func (m *GetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigReq) XXX_Merge(src proto.Message)
- func (m *GetConfigReq) XXX_Size() int
- func (m *GetConfigReq) XXX_Unmarshal(b []byte) error
- type GetConfigResp
- func (*GetConfigResp) Descriptor() ([]byte, []int)
- func (m *GetConfigResp) GetConfig() *Config
- func (*GetConfigResp) ProtoMessage()
- func (m *GetConfigResp) Reset()
- func (m *GetConfigResp) String() string
- func (m *GetConfigResp) XXX_DiscardUnknown()
- func (m *GetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigResp) XXX_Merge(src proto.Message)
- func (m *GetConfigResp) XXX_Size() int
- func (m *GetConfigResp) XXX_Unmarshal(b []byte) error
- type GetEventsReq
- func (*GetEventsReq) Descriptor() ([]byte, []int)
- func (m *GetEventsReq) GetLimit() int32
- func (m *GetEventsReq) GetPage() int32
- func (*GetEventsReq) ProtoMessage()
- func (m *GetEventsReq) Reset()
- func (m *GetEventsReq) String() string
- func (m *GetEventsReq) XXX_DiscardUnknown()
- func (m *GetEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventsReq) XXX_Merge(src proto.Message)
- func (m *GetEventsReq) XXX_Size() int
- func (m *GetEventsReq) XXX_Unmarshal(b []byte) error
- type GetEventsResp
- func (*GetEventsResp) Descriptor() ([]byte, []int)
- func (m *GetEventsResp) GetEvent() []*Event
- func (m *GetEventsResp) GetNpages() int32
- func (m *GetEventsResp) GetPage() int32
- func (m *GetEventsResp) GetTotal() int32
- func (*GetEventsResp) ProtoMessage()
- func (m *GetEventsResp) Reset()
- func (m *GetEventsResp) String() string
- func (m *GetEventsResp) XXX_DiscardUnknown()
- func (m *GetEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventsResp) XXX_Merge(src proto.Message)
- func (m *GetEventsResp) XXX_Size() int
- func (m *GetEventsResp) XXX_Unmarshal(b []byte) error
- type GetIsConfiguredReq
- func (*GetIsConfiguredReq) Descriptor() ([]byte, []int)
- func (*GetIsConfiguredReq) ProtoMessage()
- func (m *GetIsConfiguredReq) Reset()
- func (m *GetIsConfiguredReq) String() string
- func (m *GetIsConfiguredReq) XXX_DiscardUnknown()
- func (m *GetIsConfiguredReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIsConfiguredReq) XXX_Merge(src proto.Message)
- func (m *GetIsConfiguredReq) XXX_Size() int
- func (m *GetIsConfiguredReq) XXX_Unmarshal(b []byte) error
- type GetIsConfiguredResp
- func (*GetIsConfiguredResp) Descriptor() ([]byte, []int)
- func (m *GetIsConfiguredResp) GetIsConfigured() bool
- func (*GetIsConfiguredResp) ProtoMessage()
- func (m *GetIsConfiguredResp) Reset()
- func (m *GetIsConfiguredResp) String() string
- func (m *GetIsConfiguredResp) XXX_DiscardUnknown()
- func (m *GetIsConfiguredResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIsConfiguredResp) XXX_Merge(src proto.Message)
- func (m *GetIsConfiguredResp) XXX_Size() int
- func (m *GetIsConfiguredResp) XXX_Unmarshal(b []byte) error
- type GetVideoEventsReq
- func (*GetVideoEventsReq) Descriptor() ([]byte, []int)
- func (m *GetVideoEventsReq) GetLimit() int32
- func (m *GetVideoEventsReq) GetPage() int32
- func (*GetVideoEventsReq) ProtoMessage()
- func (m *GetVideoEventsReq) Reset()
- func (m *GetVideoEventsReq) String() string
- func (m *GetVideoEventsReq) XXX_DiscardUnknown()
- func (m *GetVideoEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVideoEventsReq) XXX_Merge(src proto.Message)
- func (m *GetVideoEventsReq) XXX_Size() int
- func (m *GetVideoEventsReq) XXX_Unmarshal(b []byte) error
- type GetVideoEventsResp
- func (*GetVideoEventsResp) Descriptor() ([]byte, []int)
- func (m *GetVideoEventsResp) GetNpages() int32
- func (m *GetVideoEventsResp) GetPage() int32
- func (m *GetVideoEventsResp) GetTotal() int32
- func (m *GetVideoEventsResp) GetVideo() []*VideoEvent
- func (*GetVideoEventsResp) ProtoMessage()
- func (m *GetVideoEventsResp) Reset()
- func (m *GetVideoEventsResp) String() string
- func (m *GetVideoEventsResp) XXX_DiscardUnknown()
- func (m *GetVideoEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVideoEventsResp) XXX_Merge(src proto.Message)
- func (m *GetVideoEventsResp) XXX_Size() int
- func (m *GetVideoEventsResp) XXX_Unmarshal(b []byte) error
- type SetConfigReq
- func (*SetConfigReq) Descriptor() ([]byte, []int)
- func (m *SetConfigReq) GetConfig() *Config
- func (*SetConfigReq) ProtoMessage()
- func (m *SetConfigReq) Reset()
- func (m *SetConfigReq) String() string
- func (m *SetConfigReq) XXX_DiscardUnknown()
- func (m *SetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetConfigReq) XXX_Merge(src proto.Message)
- func (m *SetConfigReq) XXX_Size() int
- func (m *SetConfigReq) XXX_Unmarshal(b []byte) error
- type SetConfigResp
- func (*SetConfigResp) Descriptor() ([]byte, []int)
- func (m *SetConfigResp) GetMsg() string
- func (m *SetConfigResp) GetStatus() int32
- func (*SetConfigResp) ProtoMessage()
- func (m *SetConfigResp) Reset()
- func (m *SetConfigResp) String() string
- func (m *SetConfigResp) XXX_DiscardUnknown()
- func (m *SetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetConfigResp) XXX_Merge(src proto.Message)
- func (m *SetConfigResp) XXX_Size() int
- func (m *SetConfigResp) XXX_Unmarshal(b []byte) error
- type StorageConfig
- func (*StorageConfig) Descriptor() ([]byte, []int)
- func (m *StorageConfig) GetLocation() string
- func (m *StorageConfig) GetName() string
- func (*StorageConfig) ProtoMessage()
- func (m *StorageConfig) Reset()
- func (m *StorageConfig) String() string
- func (m *StorageConfig) XXX_DiscardUnknown()
- func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageConfig) XXX_Merge(src proto.Message)
- func (m *StorageConfig) XXX_Size() int
- func (m *StorageConfig) XXX_Unmarshal(b []byte) error
- type UiClient
- type UiServer
- type UnimplementedUiServer
- func (*UnimplementedUiServer) GetConfig(ctx context.Context, req *GetConfigReq) (*GetConfigResp, error)
- func (*UnimplementedUiServer) GetEvents(ctx context.Context, req *GetEventsReq) (*GetEventsResp, error)
- func (*UnimplementedUiServer) GetIsConfigured(ctx context.Context, req *GetIsConfiguredReq) (*GetIsConfiguredResp, error)
- func (*UnimplementedUiServer) GetVideoEvents(ctx context.Context, req *GetVideoEventsReq) (*GetVideoEventsResp, error)
- func (*UnimplementedUiServer) SetConfig(ctx context.Context, req *SetConfigReq) (*SetConfigResp, error)
- type VideoEvent
- func (*VideoEvent) Descriptor() ([]byte, []int)
- func (m *VideoEvent) GetCreatedAt() *timestamp.Timestamp
- func (m *VideoEvent) GetEventId() string
- func (m *VideoEvent) GetThumb() string
- func (m *VideoEvent) GetUri() string
- func (*VideoEvent) ProtoMessage()
- func (m *VideoEvent) Reset()
- func (m *VideoEvent) String() string
- func (m *VideoEvent) XXX_DiscardUnknown()
- func (m *VideoEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VideoEvent) XXX_Merge(src proto.Message)
- func (m *VideoEvent) XXX_Size() int
- func (m *VideoEvent) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUiServer ¶
Types ¶
type CameraConfig ¶
type CameraConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` Username string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CameraConfig) Descriptor ¶
func (*CameraConfig) Descriptor() ([]byte, []int)
func (*CameraConfig) GetEnabled ¶
func (m *CameraConfig) GetEnabled() bool
func (*CameraConfig) GetIp ¶
func (m *CameraConfig) GetIp() string
func (*CameraConfig) GetLocation ¶
func (m *CameraConfig) GetLocation() string
func (*CameraConfig) GetName ¶
func (m *CameraConfig) GetName() string
func (*CameraConfig) GetPassword ¶
func (m *CameraConfig) GetPassword() string
func (*CameraConfig) GetPort ¶
func (m *CameraConfig) GetPort() int32
func (*CameraConfig) GetProtocol ¶
func (m *CameraConfig) GetProtocol() string
func (*CameraConfig) GetUsername ¶
func (m *CameraConfig) GetUsername() string
func (*CameraConfig) ProtoMessage ¶
func (*CameraConfig) ProtoMessage()
func (*CameraConfig) Reset ¶
func (m *CameraConfig) Reset()
func (*CameraConfig) String ¶
func (m *CameraConfig) String() string
func (*CameraConfig) XXX_DiscardUnknown ¶
func (m *CameraConfig) XXX_DiscardUnknown()
func (*CameraConfig) XXX_Marshal ¶
func (m *CameraConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CameraConfig) XXX_Merge ¶
func (m *CameraConfig) XXX_Merge(src proto.Message)
func (*CameraConfig) XXX_Size ¶
func (m *CameraConfig) XXX_Size() int
func (*CameraConfig) XXX_Unmarshal ¶
func (m *CameraConfig) XXX_Unmarshal(b []byte) error
type Config ¶
type Config struct { Password string `protobuf:"bytes,1,opt,name=Password,proto3" json:"Password,omitempty"` PasswordAgain string `protobuf:"bytes,2,opt,name=PasswordAgain,proto3" json:"PasswordAgain,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=Hostname,proto3" json:"Hostname,omitempty"` NodeName string `protobuf:"bytes,4,opt,name=NodeName,proto3" json:"NodeName,omitempty"` Camera []*CameraConfig `protobuf:"bytes,5,rep,name=camera,proto3" json:"camera,omitempty"` Storage []*StorageConfig `protobuf:"bytes,6,rep,name=storage,proto3" json:"storage,omitempty"` Configured bool `protobuf:"varint,7,opt,name=Configured,proto3" json:"Configured,omitempty"` Uuid string `protobuf:"bytes,8,opt,name=Uuid,proto3" json:"Uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
func (*Config) GetCamera ¶
func (m *Config) GetCamera() []*CameraConfig
func (*Config) GetConfigured ¶
func (*Config) GetHostname ¶
func (*Config) GetNodeName ¶
func (*Config) GetPassword ¶
func (*Config) GetPasswordAgain ¶
func (*Config) GetStorage ¶
func (m *Config) GetStorage() []*StorageConfig
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Sensor string `protobuf:"bytes,5,opt,name=sensor,proto3" json:"sensor,omitempty"` Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetCreatedAt ¶
func (*Event) GetDuration ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type GetConfigReq ¶
type GetConfigReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigReq) Descriptor ¶
func (*GetConfigReq) Descriptor() ([]byte, []int)
func (*GetConfigReq) ProtoMessage ¶
func (*GetConfigReq) ProtoMessage()
func (*GetConfigReq) Reset ¶
func (m *GetConfigReq) Reset()
func (*GetConfigReq) String ¶
func (m *GetConfigReq) String() string
func (*GetConfigReq) XXX_DiscardUnknown ¶
func (m *GetConfigReq) XXX_DiscardUnknown()
func (*GetConfigReq) XXX_Marshal ¶
func (m *GetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigReq) XXX_Merge ¶
func (m *GetConfigReq) XXX_Merge(src proto.Message)
func (*GetConfigReq) XXX_Size ¶
func (m *GetConfigReq) XXX_Size() int
func (*GetConfigReq) XXX_Unmarshal ¶
func (m *GetConfigReq) XXX_Unmarshal(b []byte) error
type GetConfigResp ¶
type GetConfigResp struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigResp) Descriptor ¶
func (*GetConfigResp) Descriptor() ([]byte, []int)
func (*GetConfigResp) GetConfig ¶
func (m *GetConfigResp) GetConfig() *Config
func (*GetConfigResp) ProtoMessage ¶
func (*GetConfigResp) ProtoMessage()
func (*GetConfigResp) Reset ¶
func (m *GetConfigResp) Reset()
func (*GetConfigResp) String ¶
func (m *GetConfigResp) String() string
func (*GetConfigResp) XXX_DiscardUnknown ¶
func (m *GetConfigResp) XXX_DiscardUnknown()
func (*GetConfigResp) XXX_Marshal ¶
func (m *GetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigResp) XXX_Merge ¶
func (m *GetConfigResp) XXX_Merge(src proto.Message)
func (*GetConfigResp) XXX_Size ¶
func (m *GetConfigResp) XXX_Size() int
func (*GetConfigResp) XXX_Unmarshal ¶
func (m *GetConfigResp) XXX_Unmarshal(b []byte) error
type GetEventsReq ¶
type GetEventsReq struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventsReq) Descriptor ¶
func (*GetEventsReq) Descriptor() ([]byte, []int)
func (*GetEventsReq) GetLimit ¶
func (m *GetEventsReq) GetLimit() int32
func (*GetEventsReq) GetPage ¶
func (m *GetEventsReq) GetPage() int32
func (*GetEventsReq) ProtoMessage ¶
func (*GetEventsReq) ProtoMessage()
func (*GetEventsReq) Reset ¶
func (m *GetEventsReq) Reset()
func (*GetEventsReq) String ¶
func (m *GetEventsReq) String() string
func (*GetEventsReq) XXX_DiscardUnknown ¶
func (m *GetEventsReq) XXX_DiscardUnknown()
func (*GetEventsReq) XXX_Marshal ¶
func (m *GetEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventsReq) XXX_Merge ¶
func (m *GetEventsReq) XXX_Merge(src proto.Message)
func (*GetEventsReq) XXX_Size ¶
func (m *GetEventsReq) XXX_Size() int
func (*GetEventsReq) XXX_Unmarshal ¶
func (m *GetEventsReq) XXX_Unmarshal(b []byte) error
type GetEventsResp ¶
type GetEventsResp struct { Event []*Event `protobuf:"bytes,1,rep,name=event,proto3" json:"event,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Npages int32 `protobuf:"varint,3,opt,name=npages,proto3" json:"npages,omitempty"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventsResp) Descriptor ¶
func (*GetEventsResp) Descriptor() ([]byte, []int)
func (*GetEventsResp) GetEvent ¶
func (m *GetEventsResp) GetEvent() []*Event
func (*GetEventsResp) GetNpages ¶
func (m *GetEventsResp) GetNpages() int32
func (*GetEventsResp) GetPage ¶
func (m *GetEventsResp) GetPage() int32
func (*GetEventsResp) GetTotal ¶
func (m *GetEventsResp) GetTotal() int32
func (*GetEventsResp) ProtoMessage ¶
func (*GetEventsResp) ProtoMessage()
func (*GetEventsResp) Reset ¶
func (m *GetEventsResp) Reset()
func (*GetEventsResp) String ¶
func (m *GetEventsResp) String() string
func (*GetEventsResp) XXX_DiscardUnknown ¶
func (m *GetEventsResp) XXX_DiscardUnknown()
func (*GetEventsResp) XXX_Marshal ¶
func (m *GetEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventsResp) XXX_Merge ¶
func (m *GetEventsResp) XXX_Merge(src proto.Message)
func (*GetEventsResp) XXX_Size ¶
func (m *GetEventsResp) XXX_Size() int
func (*GetEventsResp) XXX_Unmarshal ¶
func (m *GetEventsResp) XXX_Unmarshal(b []byte) error
type GetIsConfiguredReq ¶
type GetIsConfiguredReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIsConfiguredReq) Descriptor ¶
func (*GetIsConfiguredReq) Descriptor() ([]byte, []int)
func (*GetIsConfiguredReq) ProtoMessage ¶
func (*GetIsConfiguredReq) ProtoMessage()
func (*GetIsConfiguredReq) Reset ¶
func (m *GetIsConfiguredReq) Reset()
func (*GetIsConfiguredReq) String ¶
func (m *GetIsConfiguredReq) String() string
func (*GetIsConfiguredReq) XXX_DiscardUnknown ¶
func (m *GetIsConfiguredReq) XXX_DiscardUnknown()
func (*GetIsConfiguredReq) XXX_Marshal ¶
func (m *GetIsConfiguredReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIsConfiguredReq) XXX_Merge ¶
func (m *GetIsConfiguredReq) XXX_Merge(src proto.Message)
func (*GetIsConfiguredReq) XXX_Size ¶
func (m *GetIsConfiguredReq) XXX_Size() int
func (*GetIsConfiguredReq) XXX_Unmarshal ¶
func (m *GetIsConfiguredReq) XXX_Unmarshal(b []byte) error
type GetIsConfiguredResp ¶
type GetIsConfiguredResp struct { IsConfigured bool `protobuf:"varint,1,opt,name=IsConfigured,proto3" json:"IsConfigured,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIsConfiguredResp) Descriptor ¶
func (*GetIsConfiguredResp) Descriptor() ([]byte, []int)
func (*GetIsConfiguredResp) GetIsConfigured ¶
func (m *GetIsConfiguredResp) GetIsConfigured() bool
func (*GetIsConfiguredResp) ProtoMessage ¶
func (*GetIsConfiguredResp) ProtoMessage()
func (*GetIsConfiguredResp) Reset ¶
func (m *GetIsConfiguredResp) Reset()
func (*GetIsConfiguredResp) String ¶
func (m *GetIsConfiguredResp) String() string
func (*GetIsConfiguredResp) XXX_DiscardUnknown ¶
func (m *GetIsConfiguredResp) XXX_DiscardUnknown()
func (*GetIsConfiguredResp) XXX_Marshal ¶
func (m *GetIsConfiguredResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIsConfiguredResp) XXX_Merge ¶
func (m *GetIsConfiguredResp) XXX_Merge(src proto.Message)
func (*GetIsConfiguredResp) XXX_Size ¶
func (m *GetIsConfiguredResp) XXX_Size() int
func (*GetIsConfiguredResp) XXX_Unmarshal ¶
func (m *GetIsConfiguredResp) XXX_Unmarshal(b []byte) error
type GetVideoEventsReq ¶
type GetVideoEventsReq struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVideoEventsReq) Descriptor ¶
func (*GetVideoEventsReq) Descriptor() ([]byte, []int)
func (*GetVideoEventsReq) GetLimit ¶
func (m *GetVideoEventsReq) GetLimit() int32
func (*GetVideoEventsReq) GetPage ¶
func (m *GetVideoEventsReq) GetPage() int32
func (*GetVideoEventsReq) ProtoMessage ¶
func (*GetVideoEventsReq) ProtoMessage()
func (*GetVideoEventsReq) Reset ¶
func (m *GetVideoEventsReq) Reset()
func (*GetVideoEventsReq) String ¶
func (m *GetVideoEventsReq) String() string
func (*GetVideoEventsReq) XXX_DiscardUnknown ¶
func (m *GetVideoEventsReq) XXX_DiscardUnknown()
func (*GetVideoEventsReq) XXX_Marshal ¶
func (m *GetVideoEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVideoEventsReq) XXX_Merge ¶
func (m *GetVideoEventsReq) XXX_Merge(src proto.Message)
func (*GetVideoEventsReq) XXX_Size ¶
func (m *GetVideoEventsReq) XXX_Size() int
func (*GetVideoEventsReq) XXX_Unmarshal ¶
func (m *GetVideoEventsReq) XXX_Unmarshal(b []byte) error
type GetVideoEventsResp ¶
type GetVideoEventsResp struct { Video []*VideoEvent `protobuf:"bytes,1,rep,name=video,proto3" json:"video,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Npages int32 `protobuf:"varint,3,opt,name=npages,proto3" json:"npages,omitempty"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVideoEventsResp) Descriptor ¶
func (*GetVideoEventsResp) Descriptor() ([]byte, []int)
func (*GetVideoEventsResp) GetNpages ¶
func (m *GetVideoEventsResp) GetNpages() int32
func (*GetVideoEventsResp) GetPage ¶
func (m *GetVideoEventsResp) GetPage() int32
func (*GetVideoEventsResp) GetTotal ¶
func (m *GetVideoEventsResp) GetTotal() int32
func (*GetVideoEventsResp) GetVideo ¶
func (m *GetVideoEventsResp) GetVideo() []*VideoEvent
func (*GetVideoEventsResp) ProtoMessage ¶
func (*GetVideoEventsResp) ProtoMessage()
func (*GetVideoEventsResp) Reset ¶
func (m *GetVideoEventsResp) Reset()
func (*GetVideoEventsResp) String ¶
func (m *GetVideoEventsResp) String() string
func (*GetVideoEventsResp) XXX_DiscardUnknown ¶
func (m *GetVideoEventsResp) XXX_DiscardUnknown()
func (*GetVideoEventsResp) XXX_Marshal ¶
func (m *GetVideoEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVideoEventsResp) XXX_Merge ¶
func (m *GetVideoEventsResp) XXX_Merge(src proto.Message)
func (*GetVideoEventsResp) XXX_Size ¶
func (m *GetVideoEventsResp) XXX_Size() int
func (*GetVideoEventsResp) XXX_Unmarshal ¶
func (m *GetVideoEventsResp) XXX_Unmarshal(b []byte) error
type SetConfigReq ¶
type SetConfigReq struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetConfigReq) Descriptor ¶
func (*SetConfigReq) Descriptor() ([]byte, []int)
func (*SetConfigReq) GetConfig ¶
func (m *SetConfigReq) GetConfig() *Config
func (*SetConfigReq) ProtoMessage ¶
func (*SetConfigReq) ProtoMessage()
func (*SetConfigReq) Reset ¶
func (m *SetConfigReq) Reset()
func (*SetConfigReq) String ¶
func (m *SetConfigReq) String() string
func (*SetConfigReq) XXX_DiscardUnknown ¶
func (m *SetConfigReq) XXX_DiscardUnknown()
func (*SetConfigReq) XXX_Marshal ¶
func (m *SetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetConfigReq) XXX_Merge ¶
func (m *SetConfigReq) XXX_Merge(src proto.Message)
func (*SetConfigReq) XXX_Size ¶
func (m *SetConfigReq) XXX_Size() int
func (*SetConfigReq) XXX_Unmarshal ¶
func (m *SetConfigReq) XXX_Unmarshal(b []byte) error
type SetConfigResp ¶
type SetConfigResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetConfigResp) Descriptor ¶
func (*SetConfigResp) Descriptor() ([]byte, []int)
func (*SetConfigResp) GetMsg ¶
func (m *SetConfigResp) GetMsg() string
func (*SetConfigResp) GetStatus ¶
func (m *SetConfigResp) GetStatus() int32
func (*SetConfigResp) ProtoMessage ¶
func (*SetConfigResp) ProtoMessage()
func (*SetConfigResp) Reset ¶
func (m *SetConfigResp) Reset()
func (*SetConfigResp) String ¶
func (m *SetConfigResp) String() string
func (*SetConfigResp) XXX_DiscardUnknown ¶
func (m *SetConfigResp) XXX_DiscardUnknown()
func (*SetConfigResp) XXX_Marshal ¶
func (m *SetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetConfigResp) XXX_Merge ¶
func (m *SetConfigResp) XXX_Merge(src proto.Message)
func (*SetConfigResp) XXX_Size ¶
func (m *SetConfigResp) XXX_Size() int
func (*SetConfigResp) XXX_Unmarshal ¶
func (m *SetConfigResp) XXX_Unmarshal(b []byte) error
type StorageConfig ¶
type StorageConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageConfig) Descriptor ¶
func (*StorageConfig) Descriptor() ([]byte, []int)
func (*StorageConfig) GetLocation ¶
func (m *StorageConfig) GetLocation() string
func (*StorageConfig) GetName ¶
func (m *StorageConfig) GetName() string
func (*StorageConfig) ProtoMessage ¶
func (*StorageConfig) ProtoMessage()
func (*StorageConfig) Reset ¶
func (m *StorageConfig) Reset()
func (*StorageConfig) String ¶
func (m *StorageConfig) String() string
func (*StorageConfig) XXX_DiscardUnknown ¶
func (m *StorageConfig) XXX_DiscardUnknown()
func (*StorageConfig) XXX_Marshal ¶
func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageConfig) XXX_Merge ¶
func (m *StorageConfig) XXX_Merge(src proto.Message)
func (*StorageConfig) XXX_Size ¶
func (m *StorageConfig) XXX_Size() int
func (*StorageConfig) XXX_Unmarshal ¶
func (m *StorageConfig) XXX_Unmarshal(b []byte) error
type UiClient ¶
type UiClient interface { SetConfig(ctx context.Context, in *SetConfigReq, opts ...grpc.CallOption) (*SetConfigResp, error) GetConfig(ctx context.Context, in *GetConfigReq, opts ...grpc.CallOption) (*GetConfigResp, error) GetIsConfigured(ctx context.Context, in *GetIsConfiguredReq, opts ...grpc.CallOption) (*GetIsConfiguredResp, error) GetEvents(ctx context.Context, in *GetEventsReq, opts ...grpc.CallOption) (*GetEventsResp, error) GetVideoEvents(ctx context.Context, in *GetVideoEventsReq, opts ...grpc.CallOption) (*GetVideoEventsResp, error) }
UiClient is the client API for Ui service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUiClient ¶
func NewUiClient(cc grpc.ClientConnInterface) UiClient
type UiServer ¶
type UiServer interface { SetConfig(context.Context, *SetConfigReq) (*SetConfigResp, error) GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error) GetIsConfigured(context.Context, *GetIsConfiguredReq) (*GetIsConfiguredResp, error) GetEvents(context.Context, *GetEventsReq) (*GetEventsResp, error) GetVideoEvents(context.Context, *GetVideoEventsReq) (*GetVideoEventsResp, error) }
UiServer is the server API for Ui service.
type UnimplementedUiServer ¶
type UnimplementedUiServer struct { }
UnimplementedUiServer can be embedded to have forward compatible implementations.
func (*UnimplementedUiServer) GetConfig ¶
func (*UnimplementedUiServer) GetConfig(ctx context.Context, req *GetConfigReq) (*GetConfigResp, error)
func (*UnimplementedUiServer) GetEvents ¶
func (*UnimplementedUiServer) GetEvents(ctx context.Context, req *GetEventsReq) (*GetEventsResp, error)
func (*UnimplementedUiServer) GetIsConfigured ¶
func (*UnimplementedUiServer) GetIsConfigured(ctx context.Context, req *GetIsConfiguredReq) (*GetIsConfiguredResp, error)
func (*UnimplementedUiServer) GetVideoEvents ¶
func (*UnimplementedUiServer) GetVideoEvents(ctx context.Context, req *GetVideoEventsReq) (*GetVideoEventsResp, error)
func (*UnimplementedUiServer) SetConfig ¶
func (*UnimplementedUiServer) SetConfig(ctx context.Context, req *SetConfigReq) (*SetConfigResp, error)
type VideoEvent ¶
type VideoEvent struct { EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Thumb string `protobuf:"bytes,4,opt,name=thumb,proto3" json:"thumb,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VideoEvent) Descriptor ¶
func (*VideoEvent) Descriptor() ([]byte, []int)
func (*VideoEvent) GetCreatedAt ¶
func (m *VideoEvent) GetCreatedAt() *timestamp.Timestamp
func (*VideoEvent) GetEventId ¶
func (m *VideoEvent) GetEventId() string
func (*VideoEvent) GetThumb ¶
func (m *VideoEvent) GetThumb() string
func (*VideoEvent) GetUri ¶
func (m *VideoEvent) GetUri() string
func (*VideoEvent) ProtoMessage ¶
func (*VideoEvent) ProtoMessage()
func (*VideoEvent) Reset ¶
func (m *VideoEvent) Reset()
func (*VideoEvent) String ¶
func (m *VideoEvent) String() string
func (*VideoEvent) XXX_DiscardUnknown ¶
func (m *VideoEvent) XXX_DiscardUnknown()
func (*VideoEvent) XXX_Marshal ¶
func (m *VideoEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VideoEvent) XXX_Merge ¶
func (m *VideoEvent) XXX_Merge(src proto.Message)
func (*VideoEvent) XXX_Size ¶
func (m *VideoEvent) XXX_Size() int
func (*VideoEvent) XXX_Unmarshal ¶
func (m *VideoEvent) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.