Documentation
¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)
- func RegisterRulesServiceServer(s *grpc.Server, srv RulesServiceServer)
- func RegisterThingsServiceServer(s *grpc.Server, srv ThingsServiceServer)
- func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)
- type ActivateOrgInviteReq
- func (*ActivateOrgInviteReq) Descriptor() ([]byte, []int)
- func (m *ActivateOrgInviteReq) GetPlatformInviteID() string
- func (m *ActivateOrgInviteReq) GetRedirectPath() string
- func (m *ActivateOrgInviteReq) GetUserID() string
- func (m *ActivateOrgInviteReq) Marshal() (dAtA []byte, err error)
- func (m *ActivateOrgInviteReq) MarshalTo(dAtA []byte) (int, error)
- func (m *ActivateOrgInviteReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActivateOrgInviteReq) ProtoMessage()
- func (m *ActivateOrgInviteReq) Reset()
- func (m *ActivateOrgInviteReq) Size() (n int)
- func (m *ActivateOrgInviteReq) String() string
- func (m *ActivateOrgInviteReq) Unmarshal(dAtA []byte) error
- func (m *ActivateOrgInviteReq) XXX_DiscardUnknown()
- func (m *ActivateOrgInviteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateOrgInviteReq) XXX_Merge(src proto.Message)
- func (m *ActivateOrgInviteReq) XXX_Size() int
- func (m *ActivateOrgInviteReq) XXX_Unmarshal(b []byte) error
- type AssignRoleReq
- func (*AssignRoleReq) Descriptor() ([]byte, []int)
- func (m *AssignRoleReq) GetId() string
- func (m *AssignRoleReq) GetRole() string
- func (m *AssignRoleReq) Marshal() (dAtA []byte, err error)
- func (m *AssignRoleReq) MarshalTo(dAtA []byte) (int, error)
- func (m *AssignRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssignRoleReq) ProtoMessage()
- func (m *AssignRoleReq) Reset()
- func (m *AssignRoleReq) Size() (n int)
- func (m *AssignRoleReq) String() string
- func (m *AssignRoleReq) Unmarshal(dAtA []byte) error
- func (m *AssignRoleReq) XXX_DiscardUnknown()
- func (m *AssignRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssignRoleReq) XXX_Merge(src proto.Message)
- func (m *AssignRoleReq) XXX_Size() int
- func (m *AssignRoleReq) XXX_Unmarshal(b []byte) error
- type AuthServiceClient
- type AuthServiceServer
- type AuthorizeReq
- func (*AuthorizeReq) Descriptor() ([]byte, []int)
- func (m *AuthorizeReq) GetAction() string
- func (m *AuthorizeReq) GetObject() string
- func (m *AuthorizeReq) GetSubject() string
- func (m *AuthorizeReq) GetToken() string
- func (m *AuthorizeReq) Marshal() (dAtA []byte, err error)
- func (m *AuthorizeReq) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthorizeReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthorizeReq) ProtoMessage()
- func (m *AuthorizeReq) Reset()
- func (m *AuthorizeReq) Size() (n int)
- func (m *AuthorizeReq) String() string
- func (m *AuthorizeReq) Unmarshal(dAtA []byte) error
- func (m *AuthorizeReq) XXX_DiscardUnknown()
- func (m *AuthorizeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizeReq) XXX_Merge(src proto.Message)
- func (m *AuthorizeReq) XXX_Size() int
- func (m *AuthorizeReq) XXX_Unmarshal(b []byte) error
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetContentType() string
- func (m *Config) GetTransformer() *Transformer
- func (m *Config) Marshal() (dAtA []byte, err error)
- func (m *Config) MarshalTo(dAtA []byte) (int, error)
- func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) Size() (n int)
- func (m *Config) String() string
- func (m *Config) Unmarshal(dAtA []byte) error
- 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 ConfigByThingIDRes
- func (*ConfigByThingIDRes) Descriptor() ([]byte, []int)
- func (m *ConfigByThingIDRes) GetConfig() *Config
- func (m *ConfigByThingIDRes) Marshal() (dAtA []byte, err error)
- func (m *ConfigByThingIDRes) MarshalTo(dAtA []byte) (int, error)
- func (m *ConfigByThingIDRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConfigByThingIDRes) ProtoMessage()
- func (m *ConfigByThingIDRes) Reset()
- func (m *ConfigByThingIDRes) Size() (n int)
- func (m *ConfigByThingIDRes) String() string
- func (m *ConfigByThingIDRes) Unmarshal(dAtA []byte) error
- func (m *ConfigByThingIDRes) XXX_DiscardUnknown()
- func (m *ConfigByThingIDRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigByThingIDRes) XXX_Merge(src proto.Message)
- func (m *ConfigByThingIDRes) XXX_Size() int
- func (m *ConfigByThingIDRes) XXX_Unmarshal(b []byte) error
- type CreateDormantOrgInviteReq
- func (*CreateDormantOrgInviteReq) Descriptor() ([]byte, []int)
- func (m *CreateDormantOrgInviteReq) GetInviteeRole() string
- func (m *CreateDormantOrgInviteReq) GetOrgID() string
- func (m *CreateDormantOrgInviteReq) GetPlatformInviteID() string
- func (m *CreateDormantOrgInviteReq) GetToken() string
- func (m *CreateDormantOrgInviteReq) Marshal() (dAtA []byte, err error)
- func (m *CreateDormantOrgInviteReq) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateDormantOrgInviteReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateDormantOrgInviteReq) ProtoMessage()
- func (m *CreateDormantOrgInviteReq) Reset()
- func (m *CreateDormantOrgInviteReq) Size() (n int)
- func (m *CreateDormantOrgInviteReq) String() string
- func (m *CreateDormantOrgInviteReq) Unmarshal(dAtA []byte) error
- func (m *CreateDormantOrgInviteReq) XXX_DiscardUnknown()
- func (m *CreateDormantOrgInviteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDormantOrgInviteReq) XXX_Merge(src proto.Message)
- func (m *CreateDormantOrgInviteReq) XXX_Size() int
- func (m *CreateDormantOrgInviteReq) XXX_Unmarshal(b []byte) error
- type GroupID
- func (*GroupID) Descriptor() ([]byte, []int)
- func (m *GroupID) GetValue() string
- func (m *GroupID) Marshal() (dAtA []byte, err error)
- func (m *GroupID) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupID) ProtoMessage()
- func (m *GroupID) Reset()
- func (m *GroupID) Size() (n int)
- func (m *GroupID) String() string
- func (m *GroupID) Unmarshal(dAtA []byte) error
- func (m *GroupID) XXX_DiscardUnknown()
- func (m *GroupID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupID) XXX_Merge(src proto.Message)
- func (m *GroupID) XXX_Size() int
- func (m *GroupID) XXX_Unmarshal(b []byte) error
- type GroupIDs
- func (*GroupIDs) Descriptor() ([]byte, []int)
- func (m *GroupIDs) GetIds() []string
- func (m *GroupIDs) Marshal() (dAtA []byte, err error)
- func (m *GroupIDs) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupIDs) ProtoMessage()
- func (m *GroupIDs) Reset()
- func (m *GroupIDs) Size() (n int)
- func (m *GroupIDs) String() string
- func (m *GroupIDs) Unmarshal(dAtA []byte) error
- func (m *GroupIDs) XXX_DiscardUnknown()
- func (m *GroupIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupIDs) XXX_Merge(src proto.Message)
- func (m *GroupIDs) XXX_Size() int
- func (m *GroupIDs) XXX_Unmarshal(b []byte) error
- type IssueReq
- func (*IssueReq) Descriptor() ([]byte, []int)
- func (m *IssueReq) GetEmail() string
- func (m *IssueReq) GetId() string
- func (m *IssueReq) GetType() uint32
- func (m *IssueReq) Marshal() (dAtA []byte, err error)
- func (m *IssueReq) MarshalTo(dAtA []byte) (int, error)
- func (m *IssueReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IssueReq) ProtoMessage()
- func (m *IssueReq) Reset()
- func (m *IssueReq) Size() (n int)
- func (m *IssueReq) String() string
- func (m *IssueReq) Unmarshal(dAtA []byte) error
- func (m *IssueReq) XXX_DiscardUnknown()
- func (m *IssueReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IssueReq) XXX_Merge(src proto.Message)
- func (m *IssueReq) XXX_Size() int
- func (m *IssueReq) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetContentType() string
- func (m *Message) GetCreated() int64
- func (m *Message) GetPayload() []byte
- func (m *Message) GetProtocol() string
- func (m *Message) GetPublisher() string
- func (m *Message) GetSubject() string
- func (m *Message) GetSubtopic() string
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type OrgAccessReq
- func (*OrgAccessReq) Descriptor() ([]byte, []int)
- func (m *OrgAccessReq) GetOrgId() string
- func (m *OrgAccessReq) GetToken() string
- func (m *OrgAccessReq) Marshal() (dAtA []byte, err error)
- func (m *OrgAccessReq) MarshalTo(dAtA []byte) (int, error)
- func (m *OrgAccessReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrgAccessReq) ProtoMessage()
- func (m *OrgAccessReq) Reset()
- func (m *OrgAccessReq) Size() (n int)
- func (m *OrgAccessReq) String() string
- func (m *OrgAccessReq) Unmarshal(dAtA []byte) error
- func (m *OrgAccessReq) XXX_DiscardUnknown()
- func (m *OrgAccessReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrgAccessReq) XXX_Merge(src proto.Message)
- func (m *OrgAccessReq) XXX_Size() int
- func (m *OrgAccessReq) XXX_Unmarshal(b []byte) error
- type OrgID
- func (*OrgID) Descriptor() ([]byte, []int)
- func (m *OrgID) GetValue() string
- func (m *OrgID) Marshal() (dAtA []byte, err error)
- func (m *OrgID) MarshalTo(dAtA []byte) (int, error)
- func (m *OrgID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrgID) ProtoMessage()
- func (m *OrgID) Reset()
- func (m *OrgID) Size() (n int)
- func (m *OrgID) String() string
- func (m *OrgID) Unmarshal(dAtA []byte) error
- func (m *OrgID) XXX_DiscardUnknown()
- func (m *OrgID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrgID) XXX_Merge(src proto.Message)
- func (m *OrgID) XXX_Size() int
- func (m *OrgID) XXX_Unmarshal(b []byte) error
- type OwnerID
- func (*OwnerID) Descriptor() ([]byte, []int)
- func (m *OwnerID) GetValue() string
- func (m *OwnerID) Marshal() (dAtA []byte, err error)
- func (m *OwnerID) MarshalTo(dAtA []byte) (int, error)
- func (m *OwnerID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OwnerID) ProtoMessage()
- func (m *OwnerID) Reset()
- func (m *OwnerID) Size() (n int)
- func (m *OwnerID) String() string
- func (m *OwnerID) Unmarshal(dAtA []byte) error
- func (m *OwnerID) XXX_DiscardUnknown()
- func (m *OwnerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OwnerID) XXX_Merge(src proto.Message)
- func (m *OwnerID) XXX_Size() int
- func (m *OwnerID) XXX_Unmarshal(b []byte) error
- type PageMetadata
- func (*PageMetadata) Descriptor() ([]byte, []int)
- func (m *PageMetadata) GetDir() string
- func (m *PageMetadata) GetEmail() string
- func (m *PageMetadata) GetLimit() uint64
- func (m *PageMetadata) GetOffset() uint64
- func (m *PageMetadata) GetOrder() string
- func (m *PageMetadata) GetTotal() uint64
- func (m *PageMetadata) Marshal() (dAtA []byte, err error)
- func (m *PageMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *PageMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PageMetadata) ProtoMessage()
- func (m *PageMetadata) Reset()
- func (m *PageMetadata) Size() (n int)
- func (m *PageMetadata) String() string
- func (m *PageMetadata) Unmarshal(dAtA []byte) error
- func (m *PageMetadata) XXX_DiscardUnknown()
- func (m *PageMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PageMetadata) XXX_Merge(src proto.Message)
- func (m *PageMetadata) XXX_Size() int
- func (m *PageMetadata) XXX_Unmarshal(b []byte) error
- type ProfileID
- func (*ProfileID) Descriptor() ([]byte, []int)
- func (m *ProfileID) GetValue() string
- func (m *ProfileID) Marshal() (dAtA []byte, err error)
- func (m *ProfileID) MarshalTo(dAtA []byte) (int, error)
- func (m *ProfileID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProfileID) ProtoMessage()
- func (m *ProfileID) Reset()
- func (m *ProfileID) Size() (n int)
- func (m *ProfileID) String() string
- func (m *ProfileID) Unmarshal(dAtA []byte) error
- func (m *ProfileID) XXX_DiscardUnknown()
- func (m *ProfileID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProfileID) XXX_Merge(src proto.Message)
- func (m *ProfileID) XXX_Size() int
- func (m *ProfileID) XXX_Unmarshal(b []byte) error
- type PubConfByKeyRes
- func (*PubConfByKeyRes) Descriptor() ([]byte, []int)
- func (m *PubConfByKeyRes) GetProfileConfig() *Config
- func (m *PubConfByKeyRes) GetPublisherID() string
- func (m *PubConfByKeyRes) Marshal() (dAtA []byte, err error)
- func (m *PubConfByKeyRes) MarshalTo(dAtA []byte) (int, error)
- func (m *PubConfByKeyRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PubConfByKeyRes) ProtoMessage()
- func (m *PubConfByKeyRes) Reset()
- func (m *PubConfByKeyRes) Size() (n int)
- func (m *PubConfByKeyRes) String() string
- func (m *PubConfByKeyRes) Unmarshal(dAtA []byte) error
- func (m *PubConfByKeyRes) XXX_DiscardUnknown()
- func (m *PubConfByKeyRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PubConfByKeyRes) XXX_Merge(src proto.Message)
- func (m *PubConfByKeyRes) XXX_Size() int
- func (m *PubConfByKeyRes) XXX_Unmarshal(b []byte) error
- type PublishReq
- func (*PublishReq) Descriptor() ([]byte, []int)
- func (m *PublishReq) GetMessage() *Message
- func (m *PublishReq) Marshal() (dAtA []byte, err error)
- func (m *PublishReq) MarshalTo(dAtA []byte) (int, error)
- func (m *PublishReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublishReq) ProtoMessage()
- func (m *PublishReq) Reset()
- func (m *PublishReq) Size() (n int)
- func (m *PublishReq) String() string
- func (m *PublishReq) Unmarshal(dAtA []byte) error
- func (m *PublishReq) XXX_DiscardUnknown()
- func (m *PublishReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublishReq) XXX_Merge(src proto.Message)
- func (m *PublishReq) XXX_Size() int
- func (m *PublishReq) XXX_Unmarshal(b []byte) error
- type RetrieveRoleReq
- func (*RetrieveRoleReq) Descriptor() ([]byte, []int)
- func (m *RetrieveRoleReq) GetId() string
- func (m *RetrieveRoleReq) Marshal() (dAtA []byte, err error)
- func (m *RetrieveRoleReq) MarshalTo(dAtA []byte) (int, error)
- func (m *RetrieveRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RetrieveRoleReq) ProtoMessage()
- func (m *RetrieveRoleReq) Reset()
- func (m *RetrieveRoleReq) Size() (n int)
- func (m *RetrieveRoleReq) String() string
- func (m *RetrieveRoleReq) Unmarshal(dAtA []byte) error
- func (m *RetrieveRoleReq) XXX_DiscardUnknown()
- func (m *RetrieveRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RetrieveRoleReq) XXX_Merge(src proto.Message)
- func (m *RetrieveRoleReq) XXX_Size() int
- func (m *RetrieveRoleReq) XXX_Unmarshal(b []byte) error
- type RetrieveRoleRes
- func (*RetrieveRoleRes) Descriptor() ([]byte, []int)
- func (m *RetrieveRoleRes) GetRole() string
- func (m *RetrieveRoleRes) Marshal() (dAtA []byte, err error)
- func (m *RetrieveRoleRes) MarshalTo(dAtA []byte) (int, error)
- func (m *RetrieveRoleRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RetrieveRoleRes) ProtoMessage()
- func (m *RetrieveRoleRes) Reset()
- func (m *RetrieveRoleRes) Size() (n int)
- func (m *RetrieveRoleRes) String() string
- func (m *RetrieveRoleRes) Unmarshal(dAtA []byte) error
- func (m *RetrieveRoleRes) XXX_DiscardUnknown()
- func (m *RetrieveRoleRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RetrieveRoleRes) XXX_Merge(src proto.Message)
- func (m *RetrieveRoleRes) XXX_Size() int
- func (m *RetrieveRoleRes) XXX_Unmarshal(b []byte) error
- type RulesServiceClient
- type RulesServiceServer
- type ThingAccessReq
- func (*ThingAccessReq) Descriptor() ([]byte, []int)
- func (m *ThingAccessReq) GetId() string
- func (m *ThingAccessReq) GetKey() string
- func (m *ThingAccessReq) Marshal() (dAtA []byte, err error)
- func (m *ThingAccessReq) MarshalTo(dAtA []byte) (int, error)
- func (m *ThingAccessReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThingAccessReq) ProtoMessage()
- func (m *ThingAccessReq) Reset()
- func (m *ThingAccessReq) Size() (n int)
- func (m *ThingAccessReq) String() string
- func (m *ThingAccessReq) Unmarshal(dAtA []byte) error
- func (m *ThingAccessReq) XXX_DiscardUnknown()
- func (m *ThingAccessReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThingAccessReq) XXX_Merge(src proto.Message)
- func (m *ThingAccessReq) XXX_Size() int
- func (m *ThingAccessReq) XXX_Unmarshal(b []byte) error
- type ThingID
- func (*ThingID) Descriptor() ([]byte, []int)
- func (m *ThingID) GetValue() string
- func (m *ThingID) Marshal() (dAtA []byte, err error)
- func (m *ThingID) MarshalTo(dAtA []byte) (int, error)
- func (m *ThingID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThingID) ProtoMessage()
- func (m *ThingID) Reset()
- func (m *ThingID) Size() (n int)
- func (m *ThingID) String() string
- func (m *ThingID) Unmarshal(dAtA []byte) error
- func (m *ThingID) XXX_DiscardUnknown()
- func (m *ThingID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThingID) XXX_Merge(src proto.Message)
- func (m *ThingID) XXX_Size() int
- func (m *ThingID) XXX_Unmarshal(b []byte) error
- type ThingIDs
- func (*ThingIDs) Descriptor() ([]byte, []int)
- func (m *ThingIDs) GetIds() []string
- func (m *ThingIDs) Marshal() (dAtA []byte, err error)
- func (m *ThingIDs) MarshalTo(dAtA []byte) (int, error)
- func (m *ThingIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThingIDs) ProtoMessage()
- func (m *ThingIDs) Reset()
- func (m *ThingIDs) Size() (n int)
- func (m *ThingIDs) String() string
- func (m *ThingIDs) Unmarshal(dAtA []byte) error
- func (m *ThingIDs) XXX_DiscardUnknown()
- func (m *ThingIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThingIDs) XXX_Merge(src proto.Message)
- func (m *ThingIDs) XXX_Size() int
- func (m *ThingIDs) XXX_Unmarshal(b []byte) error
- type ThingKey
- func (*ThingKey) Descriptor() ([]byte, []int)
- func (m *ThingKey) GetType() string
- func (m *ThingKey) GetValue() string
- func (m *ThingKey) Marshal() (dAtA []byte, err error)
- func (m *ThingKey) MarshalTo(dAtA []byte) (int, error)
- func (m *ThingKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThingKey) ProtoMessage()
- func (m *ThingKey) Reset()
- func (m *ThingKey) Size() (n int)
- func (m *ThingKey) String() string
- func (m *ThingKey) Unmarshal(dAtA []byte) error
- func (m *ThingKey) XXX_DiscardUnknown()
- func (m *ThingKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThingKey) XXX_Merge(src proto.Message)
- func (m *ThingKey) XXX_Size() int
- func (m *ThingKey) XXX_Unmarshal(b []byte) error
- type ThingsServiceClient
- type ThingsServiceServer
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetValue() string
- func (m *Token) Marshal() (dAtA []byte, err error)
- func (m *Token) MarshalTo(dAtA []byte) (int, error)
- func (m *Token) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) Size() (n int)
- func (m *Token) String() string
- func (m *Token) Unmarshal(dAtA []byte) error
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type Transformer
- func (*Transformer) Descriptor() ([]byte, []int)
- func (m *Transformer) GetDataField() string
- func (m *Transformer) GetDataFilters() []string
- func (m *Transformer) GetTimeField() string
- func (m *Transformer) GetTimeFormat() string
- func (m *Transformer) GetTimeLocation() string
- func (m *Transformer) Marshal() (dAtA []byte, err error)
- func (m *Transformer) MarshalTo(dAtA []byte) (int, error)
- func (m *Transformer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Transformer) ProtoMessage()
- func (m *Transformer) Reset()
- func (m *Transformer) Size() (n int)
- func (m *Transformer) String() string
- func (m *Transformer) Unmarshal(dAtA []byte) error
- func (m *Transformer) XXX_DiscardUnknown()
- func (m *Transformer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transformer) XXX_Merge(src proto.Message)
- func (m *Transformer) XXX_Size() int
- func (m *Transformer) XXX_Unmarshal(b []byte) error
- type UnimplementedAuthServiceServer
- func (*UnimplementedAuthServiceServer) ActivateOrgInvite(ctx context.Context, req *ActivateOrgInviteReq) (*emptypb.Empty, error)
- func (*UnimplementedAuthServiceServer) AssignRole(ctx context.Context, req *AssignRoleReq) (*emptypb.Empty, error)
- func (*UnimplementedAuthServiceServer) Authorize(ctx context.Context, req *AuthorizeReq) (*emptypb.Empty, error)
- func (*UnimplementedAuthServiceServer) CreateDormantOrgInvite(ctx context.Context, req *CreateDormantOrgInviteReq) (*emptypb.Empty, error)
- func (*UnimplementedAuthServiceServer) GetOwnerIDByOrgID(ctx context.Context, req *OrgID) (*OwnerID, error)
- func (*UnimplementedAuthServiceServer) Identify(ctx context.Context, req *Token) (*UserIdentity, error)
- func (*UnimplementedAuthServiceServer) Issue(ctx context.Context, req *IssueReq) (*Token, error)
- func (*UnimplementedAuthServiceServer) RetrieveRole(ctx context.Context, req *RetrieveRoleReq) (*RetrieveRoleRes, error)
- type UnimplementedRulesServiceServer
- type UnimplementedThingsServiceServer
- func (*UnimplementedThingsServiceServer) CanThingAccessGroup(ctx context.Context, req *ThingAccessReq) (*emptypb.Empty, error)
- func (*UnimplementedThingsServiceServer) CanUserAccessGroup(ctx context.Context, req *UserAccessReq) (*emptypb.Empty, error)
- func (*UnimplementedThingsServiceServer) CanUserAccessProfile(ctx context.Context, req *UserAccessReq) (*emptypb.Empty, error)
- func (*UnimplementedThingsServiceServer) CanUserAccessThing(ctx context.Context, req *UserAccessReq) (*emptypb.Empty, error)
- func (*UnimplementedThingsServiceServer) GetConfigByThingID(ctx context.Context, req *ThingID) (*ConfigByThingIDRes, error)
- func (*UnimplementedThingsServiceServer) GetGroupIDByProfileID(ctx context.Context, req *ProfileID) (*GroupID, error)
- func (*UnimplementedThingsServiceServer) GetGroupIDByThingID(ctx context.Context, req *ThingID) (*GroupID, error)
- func (*UnimplementedThingsServiceServer) GetGroupIDsByOrg(ctx context.Context, req *OrgAccessReq) (*GroupIDs, error)
- func (*UnimplementedThingsServiceServer) GetPubConfByKey(ctx context.Context, req *ThingKey) (*PubConfByKeyRes, error)
- func (*UnimplementedThingsServiceServer) GetThingIDsByProfile(ctx context.Context, req *ProfileID) (*ThingIDs, error)
- func (*UnimplementedThingsServiceServer) Identify(ctx context.Context, req *ThingKey) (*ThingID, error)
- type UnimplementedUsersServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetEmail() string
- func (m *User) GetId() string
- func (m *User) GetStatus() string
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (m *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserAccessReq
- func (*UserAccessReq) Descriptor() ([]byte, []int)
- func (m *UserAccessReq) GetAction() string
- func (m *UserAccessReq) GetId() string
- func (m *UserAccessReq) GetToken() string
- func (m *UserAccessReq) Marshal() (dAtA []byte, err error)
- func (m *UserAccessReq) MarshalTo(dAtA []byte) (int, error)
- func (m *UserAccessReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserAccessReq) ProtoMessage()
- func (m *UserAccessReq) Reset()
- func (m *UserAccessReq) Size() (n int)
- func (m *UserAccessReq) String() string
- func (m *UserAccessReq) Unmarshal(dAtA []byte) error
- func (m *UserAccessReq) XXX_DiscardUnknown()
- func (m *UserAccessReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserAccessReq) XXX_Merge(src proto.Message)
- func (m *UserAccessReq) XXX_Size() int
- func (m *UserAccessReq) XXX_Unmarshal(b []byte) error
- type UserIdentity
- func (*UserIdentity) Descriptor() ([]byte, []int)
- func (m *UserIdentity) GetEmail() string
- func (m *UserIdentity) GetId() string
- func (m *UserIdentity) Marshal() (dAtA []byte, err error)
- func (m *UserIdentity) MarshalTo(dAtA []byte) (int, error)
- func (m *UserIdentity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserIdentity) ProtoMessage()
- func (m *UserIdentity) Reset()
- func (m *UserIdentity) Size() (n int)
- func (m *UserIdentity) String() string
- func (m *UserIdentity) Unmarshal(dAtA []byte) error
- func (m *UserIdentity) XXX_DiscardUnknown()
- func (m *UserIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserIdentity) XXX_Merge(src proto.Message)
- func (m *UserIdentity) XXX_Size() int
- func (m *UserIdentity) XXX_Unmarshal(b []byte) error
- type UsersByEmailsReq
- func (*UsersByEmailsReq) Descriptor() ([]byte, []int)
- func (m *UsersByEmailsReq) GetEmails() []string
- func (m *UsersByEmailsReq) Marshal() (dAtA []byte, err error)
- func (m *UsersByEmailsReq) MarshalTo(dAtA []byte) (int, error)
- func (m *UsersByEmailsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsersByEmailsReq) ProtoMessage()
- func (m *UsersByEmailsReq) Reset()
- func (m *UsersByEmailsReq) Size() (n int)
- func (m *UsersByEmailsReq) String() string
- func (m *UsersByEmailsReq) Unmarshal(dAtA []byte) error
- func (m *UsersByEmailsReq) XXX_DiscardUnknown()
- func (m *UsersByEmailsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsersByEmailsReq) XXX_Merge(src proto.Message)
- func (m *UsersByEmailsReq) XXX_Size() int
- func (m *UsersByEmailsReq) XXX_Unmarshal(b []byte) error
- type UsersByIDsReq
- func (*UsersByIDsReq) Descriptor() ([]byte, []int)
- func (m *UsersByIDsReq) GetIds() []string
- func (m *UsersByIDsReq) GetPageMetadata() *PageMetadata
- func (m *UsersByIDsReq) Marshal() (dAtA []byte, err error)
- func (m *UsersByIDsReq) MarshalTo(dAtA []byte) (int, error)
- func (m *UsersByIDsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsersByIDsReq) ProtoMessage()
- func (m *UsersByIDsReq) Reset()
- func (m *UsersByIDsReq) Size() (n int)
- func (m *UsersByIDsReq) String() string
- func (m *UsersByIDsReq) Unmarshal(dAtA []byte) error
- func (m *UsersByIDsReq) XXX_DiscardUnknown()
- func (m *UsersByIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsersByIDsReq) XXX_Merge(src proto.Message)
- func (m *UsersByIDsReq) XXX_Size() int
- func (m *UsersByIDsReq) XXX_Unmarshal(b []byte) error
- type UsersRes
- func (*UsersRes) Descriptor() ([]byte, []int)
- func (m *UsersRes) GetPageMetadata() *PageMetadata
- func (m *UsersRes) GetUsers() []*User
- func (m *UsersRes) Marshal() (dAtA []byte, err error)
- func (m *UsersRes) MarshalTo(dAtA []byte) (int, error)
- func (m *UsersRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsersRes) ProtoMessage()
- func (m *UsersRes) Reset()
- func (m *UsersRes) Size() (n int)
- func (m *UsersRes) String() string
- func (m *UsersRes) Unmarshal(dAtA []byte) error
- func (m *UsersRes) XXX_DiscardUnknown()
- func (m *UsersRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsersRes) XXX_Merge(src proto.Message)
- func (m *UsersRes) XXX_Size() int
- func (m *UsersRes) XXX_Unmarshal(b []byte) error
- type UsersServiceClient
- type UsersServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)
func RegisterRulesServiceServer ¶ added in v0.28.0
func RegisterRulesServiceServer(s *grpc.Server, srv RulesServiceServer)
func RegisterThingsServiceServer ¶
func RegisterThingsServiceServer(s *grpc.Server, srv ThingsServiceServer)
func RegisterUsersServiceServer ¶
func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)
Types ¶
type ActivateOrgInviteReq ¶ added in v0.31.1
type ActivateOrgInviteReq struct {
PlatformInviteID string `protobuf:"bytes,1,opt,name=platformInviteID,proto3" json:"platformInviteID,omitempty"`
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
RedirectPath string `protobuf:"bytes,3,opt,name=redirectPath,proto3" json:"redirectPath,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ActivateOrgInviteReq) Descriptor ¶ added in v0.31.1
func (*ActivateOrgInviteReq) Descriptor() ([]byte, []int)
func (*ActivateOrgInviteReq) GetPlatformInviteID ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) GetPlatformInviteID() string
func (*ActivateOrgInviteReq) GetRedirectPath ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) GetRedirectPath() string
func (*ActivateOrgInviteReq) GetUserID ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) GetUserID() string
func (*ActivateOrgInviteReq) Marshal ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) Marshal() (dAtA []byte, err error)
func (*ActivateOrgInviteReq) MarshalTo ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) MarshalTo(dAtA []byte) (int, error)
func (*ActivateOrgInviteReq) MarshalToSizedBuffer ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActivateOrgInviteReq) ProtoMessage ¶ added in v0.31.1
func (*ActivateOrgInviteReq) ProtoMessage()
func (*ActivateOrgInviteReq) Reset ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) Reset()
func (*ActivateOrgInviteReq) Size ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) Size() (n int)
func (*ActivateOrgInviteReq) String ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) String() string
func (*ActivateOrgInviteReq) Unmarshal ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) Unmarshal(dAtA []byte) error
func (*ActivateOrgInviteReq) XXX_DiscardUnknown ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) XXX_DiscardUnknown()
func (*ActivateOrgInviteReq) XXX_Marshal ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateOrgInviteReq) XXX_Merge ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) XXX_Merge(src proto.Message)
func (*ActivateOrgInviteReq) XXX_Size ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) XXX_Size() int
func (*ActivateOrgInviteReq) XXX_Unmarshal ¶ added in v0.31.1
func (m *ActivateOrgInviteReq) XXX_Unmarshal(b []byte) error
type AssignRoleReq ¶
type AssignRoleReq struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AssignRoleReq) Descriptor ¶
func (*AssignRoleReq) Descriptor() ([]byte, []int)
func (*AssignRoleReq) GetId ¶
func (m *AssignRoleReq) GetId() string
func (*AssignRoleReq) GetRole ¶
func (m *AssignRoleReq) GetRole() string
func (*AssignRoleReq) Marshal ¶
func (m *AssignRoleReq) Marshal() (dAtA []byte, err error)
func (*AssignRoleReq) MarshalToSizedBuffer ¶
func (m *AssignRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssignRoleReq) ProtoMessage ¶
func (*AssignRoleReq) ProtoMessage()
func (*AssignRoleReq) Reset ¶
func (m *AssignRoleReq) Reset()
func (*AssignRoleReq) Size ¶
func (m *AssignRoleReq) Size() (n int)
func (*AssignRoleReq) String ¶
func (m *AssignRoleReq) String() string
func (*AssignRoleReq) Unmarshal ¶
func (m *AssignRoleReq) Unmarshal(dAtA []byte) error
func (*AssignRoleReq) XXX_DiscardUnknown ¶
func (m *AssignRoleReq) XXX_DiscardUnknown()
func (*AssignRoleReq) XXX_Marshal ¶
func (m *AssignRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssignRoleReq) XXX_Merge ¶
func (m *AssignRoleReq) XXX_Merge(src proto.Message)
func (*AssignRoleReq) XXX_Size ¶
func (m *AssignRoleReq) XXX_Size() int
func (*AssignRoleReq) XXX_Unmarshal ¶
func (m *AssignRoleReq) XXX_Unmarshal(b []byte) error
type AuthServiceClient ¶
type AuthServiceClient interface {
Issue(ctx context.Context, in *IssueReq, opts ...grpc.CallOption) (*Token, error)
Identify(ctx context.Context, in *Token, opts ...grpc.CallOption) (*UserIdentity, error)
Authorize(ctx context.Context, in *AuthorizeReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetOwnerIDByOrgID(ctx context.Context, in *OrgID, opts ...grpc.CallOption) (*OwnerID, error)
AssignRole(ctx context.Context, in *AssignRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
RetrieveRole(ctx context.Context, in *RetrieveRoleReq, opts ...grpc.CallOption) (*RetrieveRoleRes, error)
CreateDormantOrgInvite(ctx context.Context, in *CreateDormantOrgInviteReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
ActivateOrgInvite(ctx context.Context, in *ActivateOrgInviteReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc *grpc.ClientConn) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface {
Issue(context.Context, *IssueReq) (*Token, error)
Identify(context.Context, *Token) (*UserIdentity, error)
Authorize(context.Context, *AuthorizeReq) (*emptypb.Empty, error)
GetOwnerIDByOrgID(context.Context, *OrgID) (*OwnerID, error)
AssignRole(context.Context, *AssignRoleReq) (*emptypb.Empty, error)
RetrieveRole(context.Context, *RetrieveRoleReq) (*RetrieveRoleRes, error)
CreateDormantOrgInvite(context.Context, *CreateDormantOrgInviteReq) (*emptypb.Empty, error)
ActivateOrgInvite(context.Context, *ActivateOrgInviteReq) (*emptypb.Empty, error)
}
AuthServiceServer is the server API for AuthService service.
type AuthorizeReq ¶
type AuthorizeReq struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AuthorizeReq) Descriptor ¶
func (*AuthorizeReq) Descriptor() ([]byte, []int)
func (*AuthorizeReq) GetAction ¶
func (m *AuthorizeReq) GetAction() string
func (*AuthorizeReq) GetObject ¶
func (m *AuthorizeReq) GetObject() string
func (*AuthorizeReq) GetSubject ¶
func (m *AuthorizeReq) GetSubject() string
func (*AuthorizeReq) GetToken ¶
func (m *AuthorizeReq) GetToken() string
func (*AuthorizeReq) Marshal ¶
func (m *AuthorizeReq) Marshal() (dAtA []byte, err error)
func (*AuthorizeReq) MarshalToSizedBuffer ¶
func (m *AuthorizeReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthorizeReq) ProtoMessage ¶
func (*AuthorizeReq) ProtoMessage()
func (*AuthorizeReq) Reset ¶
func (m *AuthorizeReq) Reset()
func (*AuthorizeReq) Size ¶
func (m *AuthorizeReq) Size() (n int)
func (*AuthorizeReq) String ¶
func (m *AuthorizeReq) String() string
func (*AuthorizeReq) Unmarshal ¶
func (m *AuthorizeReq) Unmarshal(dAtA []byte) error
func (*AuthorizeReq) XXX_DiscardUnknown ¶
func (m *AuthorizeReq) XXX_DiscardUnknown()
func (*AuthorizeReq) XXX_Marshal ¶
func (m *AuthorizeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizeReq) XXX_Merge ¶
func (m *AuthorizeReq) XXX_Merge(src proto.Message)
func (*AuthorizeReq) XXX_Size ¶
func (m *AuthorizeReq) XXX_Size() int
func (*AuthorizeReq) XXX_Unmarshal ¶
func (m *AuthorizeReq) XXX_Unmarshal(b []byte) error
type Config ¶ added in v0.24.0
type Config struct {
ContentType string `protobuf:"bytes,1,opt,name=contentType,proto3" json:"contentType,omitempty"`
Transformer *Transformer `protobuf:"bytes,2,opt,name=transformer,proto3" json:"transformer,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Config) Descriptor ¶ added in v0.24.0
func (*Config) GetContentType ¶ added in v0.24.0
func (*Config) GetTransformer ¶ added in v0.24.0
func (m *Config) GetTransformer() *Transformer
func (*Config) MarshalToSizedBuffer ¶ added in v0.24.0
func (*Config) ProtoMessage ¶ added in v0.24.0
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶ added in v0.24.0
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶ added in v0.24.0
func (*Config) XXX_Unmarshal ¶ added in v0.24.0
type ConfigByThingIDRes ¶ added in v0.24.0
type ConfigByThingIDRes 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 (*ConfigByThingIDRes) Descriptor ¶ added in v0.24.0
func (*ConfigByThingIDRes) Descriptor() ([]byte, []int)
func (*ConfigByThingIDRes) GetConfig ¶ added in v0.24.0
func (m *ConfigByThingIDRes) GetConfig() *Config
func (*ConfigByThingIDRes) Marshal ¶ added in v0.24.0
func (m *ConfigByThingIDRes) Marshal() (dAtA []byte, err error)
func (*ConfigByThingIDRes) MarshalTo ¶ added in v0.24.0
func (m *ConfigByThingIDRes) MarshalTo(dAtA []byte) (int, error)
func (*ConfigByThingIDRes) MarshalToSizedBuffer ¶ added in v0.24.0
func (m *ConfigByThingIDRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigByThingIDRes) ProtoMessage ¶ added in v0.24.0
func (*ConfigByThingIDRes) ProtoMessage()
func (*ConfigByThingIDRes) Reset ¶ added in v0.24.0
func (m *ConfigByThingIDRes) Reset()
func (*ConfigByThingIDRes) Size ¶ added in v0.24.0
func (m *ConfigByThingIDRes) Size() (n int)
func (*ConfigByThingIDRes) String ¶ added in v0.24.0
func (m *ConfigByThingIDRes) String() string
func (*ConfigByThingIDRes) Unmarshal ¶ added in v0.24.0
func (m *ConfigByThingIDRes) Unmarshal(dAtA []byte) error
func (*ConfigByThingIDRes) XXX_DiscardUnknown ¶ added in v0.24.0
func (m *ConfigByThingIDRes) XXX_DiscardUnknown()
func (*ConfigByThingIDRes) XXX_Marshal ¶ added in v0.24.0
func (m *ConfigByThingIDRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigByThingIDRes) XXX_Merge ¶ added in v0.24.0
func (m *ConfigByThingIDRes) XXX_Merge(src proto.Message)
func (*ConfigByThingIDRes) XXX_Size ¶ added in v0.24.0
func (m *ConfigByThingIDRes) XXX_Size() int
func (*ConfigByThingIDRes) XXX_Unmarshal ¶ added in v0.24.0
func (m *ConfigByThingIDRes) XXX_Unmarshal(b []byte) error
type CreateDormantOrgInviteReq ¶ added in v0.31.1
type CreateDormantOrgInviteReq struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
OrgID string `protobuf:"bytes,2,opt,name=orgID,proto3" json:"orgID,omitempty"`
InviteeRole string `protobuf:"bytes,3,opt,name=inviteeRole,proto3" json:"inviteeRole,omitempty"`
PlatformInviteID string `protobuf:"bytes,4,opt,name=platformInviteID,proto3" json:"platformInviteID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateDormantOrgInviteReq) Descriptor ¶ added in v0.31.1
func (*CreateDormantOrgInviteReq) Descriptor() ([]byte, []int)
func (*CreateDormantOrgInviteReq) GetInviteeRole ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) GetInviteeRole() string
func (*CreateDormantOrgInviteReq) GetOrgID ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) GetOrgID() string
func (*CreateDormantOrgInviteReq) GetPlatformInviteID ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) GetPlatformInviteID() string
func (*CreateDormantOrgInviteReq) GetToken ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) GetToken() string
func (*CreateDormantOrgInviteReq) Marshal ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) Marshal() (dAtA []byte, err error)
func (*CreateDormantOrgInviteReq) MarshalTo ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) MarshalTo(dAtA []byte) (int, error)
func (*CreateDormantOrgInviteReq) MarshalToSizedBuffer ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateDormantOrgInviteReq) ProtoMessage ¶ added in v0.31.1
func (*CreateDormantOrgInviteReq) ProtoMessage()
func (*CreateDormantOrgInviteReq) Reset ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) Reset()
func (*CreateDormantOrgInviteReq) Size ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) Size() (n int)
func (*CreateDormantOrgInviteReq) String ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) String() string
func (*CreateDormantOrgInviteReq) Unmarshal ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) Unmarshal(dAtA []byte) error
func (*CreateDormantOrgInviteReq) XXX_DiscardUnknown ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) XXX_DiscardUnknown()
func (*CreateDormantOrgInviteReq) XXX_Marshal ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDormantOrgInviteReq) XXX_Merge ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) XXX_Merge(src proto.Message)
func (*CreateDormantOrgInviteReq) XXX_Size ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) XXX_Size() int
func (*CreateDormantOrgInviteReq) XXX_Unmarshal ¶ added in v0.31.1
func (m *CreateDormantOrgInviteReq) XXX_Unmarshal(b []byte) error
type GroupID ¶ added in v0.22.0
type GroupID struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GroupID) Descriptor ¶ added in v0.22.0
func (*GroupID) MarshalToSizedBuffer ¶ added in v0.22.0
func (*GroupID) ProtoMessage ¶ added in v0.22.0
func (*GroupID) ProtoMessage()
func (*GroupID) XXX_DiscardUnknown ¶ added in v0.22.0
func (m *GroupID) XXX_DiscardUnknown()
func (*GroupID) XXX_Marshal ¶ added in v0.22.0
func (*GroupID) XXX_Unmarshal ¶ added in v0.22.0
type GroupIDs ¶ added in v0.30.0
type GroupIDs struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GroupIDs) Descriptor ¶ added in v0.30.0
func (*GroupIDs) MarshalToSizedBuffer ¶ added in v0.30.0
func (*GroupIDs) ProtoMessage ¶ added in v0.30.0
func (*GroupIDs) ProtoMessage()
func (*GroupIDs) XXX_DiscardUnknown ¶ added in v0.30.0
func (m *GroupIDs) XXX_DiscardUnknown()
func (*GroupIDs) XXX_Marshal ¶ added in v0.30.0
func (*GroupIDs) XXX_Unmarshal ¶ added in v0.30.0
type IssueReq ¶
type IssueReq struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IssueReq) Descriptor ¶
func (*IssueReq) MarshalToSizedBuffer ¶
func (*IssueReq) ProtoMessage ¶
func (*IssueReq) ProtoMessage()
func (*IssueReq) XXX_DiscardUnknown ¶
func (m *IssueReq) XXX_DiscardUnknown()
func (*IssueReq) XXX_Marshal ¶
func (*IssueReq) XXX_Unmarshal ¶
type Message ¶
type Message struct {
Publisher string `protobuf:"bytes,1,opt,name=publisher,proto3" json:"publisher,omitempty"`
Subtopic string `protobuf:"bytes,2,opt,name=subtopic,proto3" json:"subtopic,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType,omitempty"`
Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
Created int64 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"`
Subject string `protobuf:"bytes,7,opt,name=subject,proto3" json:"subject,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Message) Descriptor ¶
func (*Message) GetContentType ¶ added in v0.26.0
func (*Message) GetCreated ¶
func (*Message) GetPayload ¶
func (*Message) GetProtocol ¶
func (*Message) GetPublisher ¶
func (*Message) GetSubject ¶ added in v0.28.0
func (*Message) GetSubtopic ¶
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type OrgAccessReq ¶ added in v0.30.0
type OrgAccessReq struct {
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrgAccessReq) Descriptor ¶ added in v0.30.0
func (*OrgAccessReq) Descriptor() ([]byte, []int)
func (*OrgAccessReq) GetOrgId ¶ added in v0.30.0
func (m *OrgAccessReq) GetOrgId() string
func (*OrgAccessReq) GetToken ¶ added in v0.30.0
func (m *OrgAccessReq) GetToken() string
func (*OrgAccessReq) Marshal ¶ added in v0.30.0
func (m *OrgAccessReq) Marshal() (dAtA []byte, err error)
func (*OrgAccessReq) MarshalTo ¶ added in v0.30.0
func (m *OrgAccessReq) MarshalTo(dAtA []byte) (int, error)
func (*OrgAccessReq) MarshalToSizedBuffer ¶ added in v0.30.0
func (m *OrgAccessReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OrgAccessReq) ProtoMessage ¶ added in v0.30.0
func (*OrgAccessReq) ProtoMessage()
func (*OrgAccessReq) Reset ¶ added in v0.30.0
func (m *OrgAccessReq) Reset()
func (*OrgAccessReq) Size ¶ added in v0.30.0
func (m *OrgAccessReq) Size() (n int)
func (*OrgAccessReq) String ¶ added in v0.30.0
func (m *OrgAccessReq) String() string
func (*OrgAccessReq) Unmarshal ¶ added in v0.30.0
func (m *OrgAccessReq) Unmarshal(dAtA []byte) error
func (*OrgAccessReq) XXX_DiscardUnknown ¶ added in v0.30.0
func (m *OrgAccessReq) XXX_DiscardUnknown()
func (*OrgAccessReq) XXX_Marshal ¶ added in v0.30.0
func (m *OrgAccessReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrgAccessReq) XXX_Merge ¶ added in v0.30.0
func (m *OrgAccessReq) XXX_Merge(src proto.Message)
func (*OrgAccessReq) XXX_Size ¶ added in v0.30.0
func (m *OrgAccessReq) XXX_Size() int
func (*OrgAccessReq) XXX_Unmarshal ¶ added in v0.30.0
func (m *OrgAccessReq) XXX_Unmarshal(b []byte) error
type OrgID ¶ added in v0.25.0
type OrgID struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrgID) Descriptor ¶ added in v0.25.0
func (*OrgID) MarshalToSizedBuffer ¶ added in v0.25.0
func (*OrgID) ProtoMessage ¶ added in v0.25.0
func (*OrgID) ProtoMessage()
func (*OrgID) XXX_DiscardUnknown ¶ added in v0.25.0
func (m *OrgID) XXX_DiscardUnknown()
func (*OrgID) XXX_Marshal ¶ added in v0.25.0
func (*OrgID) XXX_Unmarshal ¶ added in v0.25.0
type OwnerID ¶ added in v0.25.0
type OwnerID struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OwnerID) Descriptor ¶ added in v0.25.0
func (*OwnerID) MarshalToSizedBuffer ¶ added in v0.25.0
func (*OwnerID) ProtoMessage ¶ added in v0.25.0
func (*OwnerID) ProtoMessage()
func (*OwnerID) XXX_DiscardUnknown ¶ added in v0.25.0
func (m *OwnerID) XXX_DiscardUnknown()
func (*OwnerID) XXX_Marshal ¶ added in v0.25.0
func (*OwnerID) XXX_Unmarshal ¶ added in v0.25.0
type PageMetadata ¶ added in v0.29.1
type PageMetadata struct {
Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
Order string `protobuf:"bytes,5,opt,name=order,proto3" json:"order,omitempty"`
Dir string `protobuf:"bytes,6,opt,name=dir,proto3" json:"dir,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PageMetadata) Descriptor ¶ added in v0.29.1
func (*PageMetadata) Descriptor() ([]byte, []int)
func (*PageMetadata) GetDir ¶ added in v0.29.1
func (m *PageMetadata) GetDir() string
func (*PageMetadata) GetEmail ¶ added in v0.29.1
func (m *PageMetadata) GetEmail() string
func (*PageMetadata) GetLimit ¶ added in v0.29.1
func (m *PageMetadata) GetLimit() uint64
func (*PageMetadata) GetOffset ¶ added in v0.29.1
func (m *PageMetadata) GetOffset() uint64
func (*PageMetadata) GetOrder ¶ added in v0.29.1
func (m *PageMetadata) GetOrder() string
func (*PageMetadata) GetTotal ¶ added in v0.29.1
func (m *PageMetadata) GetTotal() uint64
func (*PageMetadata) Marshal ¶ added in v0.29.1
func (m *PageMetadata) Marshal() (dAtA []byte, err error)
func (*PageMetadata) MarshalTo ¶ added in v0.29.1
func (m *PageMetadata) MarshalTo(dAtA []byte) (int, error)
func (*PageMetadata) MarshalToSizedBuffer ¶ added in v0.29.1
func (m *PageMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PageMetadata) ProtoMessage ¶ added in v0.29.1
func (*PageMetadata) ProtoMessage()
func (*PageMetadata) Reset ¶ added in v0.29.1
func (m *PageMetadata) Reset()
func (*PageMetadata) Size ¶ added in v0.29.1
func (m *PageMetadata) Size() (n int)
func (*PageMetadata) String ¶ added in v0.29.1
func (m *PageMetadata) String() string
func (*PageMetadata) Unmarshal ¶ added in v0.29.1
func (m *PageMetadata) Unmarshal(dAtA []byte) error
func (*PageMetadata) XXX_DiscardUnknown ¶ added in v0.29.1
func (m *PageMetadata) XXX_DiscardUnknown()
func (*PageMetadata) XXX_Marshal ¶ added in v0.29.1
func (m *PageMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PageMetadata) XXX_Merge ¶ added in v0.29.1
func (m *PageMetadata) XXX_Merge(src proto.Message)
func (*PageMetadata) XXX_Size ¶ added in v0.29.1
func (m *PageMetadata) XXX_Size() int
func (*PageMetadata) XXX_Unmarshal ¶ added in v0.29.1
func (m *PageMetadata) XXX_Unmarshal(b []byte) error
type ProfileID ¶ added in v0.28.0
type ProfileID struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ProfileID) Descriptor ¶ added in v0.28.0
func (*ProfileID) MarshalToSizedBuffer ¶ added in v0.28.0
func (*ProfileID) ProtoMessage ¶ added in v0.28.0
func (*ProfileID) ProtoMessage()
func (*ProfileID) XXX_DiscardUnknown ¶ added in v0.28.0
func (m *ProfileID) XXX_DiscardUnknown()
func (*ProfileID) XXX_Marshal ¶ added in v0.28.0
func (*ProfileID) XXX_Unmarshal ¶ added in v0.28.0
type PubConfByKeyRes ¶ added in v0.24.0
type PubConfByKeyRes struct {
PublisherID string `protobuf:"bytes,1,opt,name=publisherID,proto3" json:"publisherID,omitempty"`
ProfileConfig *Config `protobuf:"bytes,2,opt,name=profileConfig,proto3" json:"profileConfig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PubConfByKeyRes) Descriptor ¶ added in v0.24.0
func (*PubConfByKeyRes) Descriptor() ([]byte, []int)
func (*PubConfByKeyRes) GetProfileConfig ¶ added in v0.24.0
func (m *PubConfByKeyRes) GetProfileConfig() *Config
func (*PubConfByKeyRes) GetPublisherID ¶ added in v0.24.0
func (m *PubConfByKeyRes) GetPublisherID() string
func (*PubConfByKeyRes) Marshal ¶ added in v0.24.0
func (m *PubConfByKeyRes) Marshal() (dAtA []byte, err error)
func (*PubConfByKeyRes) MarshalTo ¶ added in v0.24.0
func (m *PubConfByKeyRes) MarshalTo(dAtA []byte) (int, error)
func (*PubConfByKeyRes) MarshalToSizedBuffer ¶ added in v0.24.0
func (m *PubConfByKeyRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PubConfByKeyRes) ProtoMessage ¶ added in v0.24.0
func (*PubConfByKeyRes) ProtoMessage()
func (*PubConfByKeyRes) Reset ¶ added in v0.24.0
func (m *PubConfByKeyRes) Reset()
func (*PubConfByKeyRes) Size ¶ added in v0.24.0
func (m *PubConfByKeyRes) Size() (n int)
func (*PubConfByKeyRes) String ¶ added in v0.24.0
func (m *PubConfByKeyRes) String() string
func (*PubConfByKeyRes) Unmarshal ¶ added in v0.24.0
func (m *PubConfByKeyRes) Unmarshal(dAtA []byte) error
func (*PubConfByKeyRes) XXX_DiscardUnknown ¶ added in v0.24.0
func (m *PubConfByKeyRes) XXX_DiscardUnknown()
func (*PubConfByKeyRes) XXX_Marshal ¶ added in v0.24.0
func (m *PubConfByKeyRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PubConfByKeyRes) XXX_Merge ¶ added in v0.24.0
func (m *PubConfByKeyRes) XXX_Merge(src proto.Message)
func (*PubConfByKeyRes) XXX_Size ¶ added in v0.24.0
func (m *PubConfByKeyRes) XXX_Size() int
func (*PubConfByKeyRes) XXX_Unmarshal ¶ added in v0.24.0
func (m *PubConfByKeyRes) XXX_Unmarshal(b []byte) error
type PublishReq ¶ added in v0.28.0
type PublishReq struct {
Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PublishReq) Descriptor ¶ added in v0.28.0
func (*PublishReq) Descriptor() ([]byte, []int)
func (*PublishReq) GetMessage ¶ added in v0.28.0
func (m *PublishReq) GetMessage() *Message
func (*PublishReq) Marshal ¶ added in v0.28.0
func (m *PublishReq) Marshal() (dAtA []byte, err error)
func (*PublishReq) MarshalTo ¶ added in v0.28.0
func (m *PublishReq) MarshalTo(dAtA []byte) (int, error)
func (*PublishReq) MarshalToSizedBuffer ¶ added in v0.28.0
func (m *PublishReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublishReq) ProtoMessage ¶ added in v0.28.0
func (*PublishReq) ProtoMessage()
func (*PublishReq) Reset ¶ added in v0.28.0
func (m *PublishReq) Reset()
func (*PublishReq) Size ¶ added in v0.28.0
func (m *PublishReq) Size() (n int)
func (*PublishReq) String ¶ added in v0.28.0
func (m *PublishReq) String() string
func (*PublishReq) Unmarshal ¶ added in v0.28.0
func (m *PublishReq) Unmarshal(dAtA []byte) error
func (*PublishReq) XXX_DiscardUnknown ¶ added in v0.28.0
func (m *PublishReq) XXX_DiscardUnknown()
func (*PublishReq) XXX_Marshal ¶ added in v0.28.0
func (m *PublishReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublishReq) XXX_Merge ¶ added in v0.28.0
func (m *PublishReq) XXX_Merge(src proto.Message)
func (*PublishReq) XXX_Size ¶ added in v0.28.0
func (m *PublishReq) XXX_Size() int
func (*PublishReq) XXX_Unmarshal ¶ added in v0.28.0
func (m *PublishReq) XXX_Unmarshal(b []byte) error
type RetrieveRoleReq ¶
type RetrieveRoleReq struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RetrieveRoleReq) Descriptor ¶
func (*RetrieveRoleReq) Descriptor() ([]byte, []int)
func (*RetrieveRoleReq) GetId ¶
func (m *RetrieveRoleReq) GetId() string
func (*RetrieveRoleReq) Marshal ¶
func (m *RetrieveRoleReq) Marshal() (dAtA []byte, err error)
func (*RetrieveRoleReq) MarshalToSizedBuffer ¶
func (m *RetrieveRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RetrieveRoleReq) ProtoMessage ¶
func (*RetrieveRoleReq) ProtoMessage()
func (*RetrieveRoleReq) Reset ¶
func (m *RetrieveRoleReq) Reset()
func (*RetrieveRoleReq) Size ¶
func (m *RetrieveRoleReq) Size() (n int)
func (*RetrieveRoleReq) String ¶
func (m *RetrieveRoleReq) String() string
func (*RetrieveRoleReq) Unmarshal ¶
func (m *RetrieveRoleReq) Unmarshal(dAtA []byte) error
func (*RetrieveRoleReq) XXX_DiscardUnknown ¶
func (m *RetrieveRoleReq) XXX_DiscardUnknown()
func (*RetrieveRoleReq) XXX_Marshal ¶
func (m *RetrieveRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RetrieveRoleReq) XXX_Merge ¶
func (m *RetrieveRoleReq) XXX_Merge(src proto.Message)
func (*RetrieveRoleReq) XXX_Size ¶
func (m *RetrieveRoleReq) XXX_Size() int
func (*RetrieveRoleReq) XXX_Unmarshal ¶
func (m *RetrieveRoleReq) XXX_Unmarshal(b []byte) error
type RetrieveRoleRes ¶
type RetrieveRoleRes struct {
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RetrieveRoleRes) Descriptor ¶
func (*RetrieveRoleRes) Descriptor() ([]byte, []int)
func (*RetrieveRoleRes) GetRole ¶
func (m *RetrieveRoleRes) GetRole() string
func (*RetrieveRoleRes) Marshal ¶
func (m *RetrieveRoleRes) Marshal() (dAtA []byte, err error)
func (*RetrieveRoleRes) MarshalToSizedBuffer ¶
func (m *RetrieveRoleRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RetrieveRoleRes) ProtoMessage ¶
func (*RetrieveRoleRes) ProtoMessage()
func (*RetrieveRoleRes) Reset ¶
func (m *RetrieveRoleRes) Reset()
func (*RetrieveRoleRes) Size ¶
func (m *RetrieveRoleRes) Size() (n int)
func (*RetrieveRoleRes) String ¶
func (m *RetrieveRoleRes) String() string
func (*RetrieveRoleRes) Unmarshal ¶
func (m *RetrieveRoleRes) Unmarshal(dAtA []byte) error
func (*RetrieveRoleRes) XXX_DiscardUnknown ¶
func (m *RetrieveRoleRes) XXX_DiscardUnknown()
func (*RetrieveRoleRes) XXX_Marshal ¶
func (m *RetrieveRoleRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RetrieveRoleRes) XXX_Merge ¶
func (m *RetrieveRoleRes) XXX_Merge(src proto.Message)
func (*RetrieveRoleRes) XXX_Size ¶
func (m *RetrieveRoleRes) XXX_Size() int
func (*RetrieveRoleRes) XXX_Unmarshal ¶
func (m *RetrieveRoleRes) XXX_Unmarshal(b []byte) error
type RulesServiceClient ¶ added in v0.28.0
type RulesServiceClient interface {
Publish(ctx context.Context, in *PublishReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
RulesServiceClient is the client API for RulesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRulesServiceClient ¶ added in v0.28.0
func NewRulesServiceClient(cc *grpc.ClientConn) RulesServiceClient
type RulesServiceServer ¶ added in v0.28.0
RulesServiceServer is the server API for RulesService service.
type ThingAccessReq ¶ added in v0.25.0
type ThingAccessReq struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ThingAccessReq) Descriptor ¶ added in v0.25.0
func (*ThingAccessReq) Descriptor() ([]byte, []int)
func (*ThingAccessReq) GetId ¶ added in v0.25.0
func (m *ThingAccessReq) GetId() string
func (*ThingAccessReq) GetKey ¶ added in v0.25.0
func (m *ThingAccessReq) GetKey() string
func (*ThingAccessReq) Marshal ¶ added in v0.25.0
func (m *ThingAccessReq) Marshal() (dAtA []byte, err error)
func (*ThingAccessReq) MarshalTo ¶ added in v0.25.0
func (m *ThingAccessReq) MarshalTo(dAtA []byte) (int, error)
func (*ThingAccessReq) MarshalToSizedBuffer ¶ added in v0.25.0
func (m *ThingAccessReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ThingAccessReq) ProtoMessage ¶ added in v0.25.0
func (*ThingAccessReq) ProtoMessage()
func (*ThingAccessReq) Reset ¶ added in v0.25.0
func (m *ThingAccessReq) Reset()
func (*ThingAccessReq) Size ¶ added in v0.25.0
func (m *ThingAccessReq) Size() (n int)
func (*ThingAccessReq) String ¶ added in v0.25.0
func (m *ThingAccessReq) String() string
func (*ThingAccessReq) Unmarshal ¶ added in v0.25.0
func (m *ThingAccessReq) Unmarshal(dAtA []byte) error
func (*ThingAccessReq) XXX_DiscardUnknown ¶ added in v0.25.0
func (m *ThingAccessReq) XXX_DiscardUnknown()
func (*ThingAccessReq) XXX_Marshal ¶ added in v0.25.0
func (m *ThingAccessReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThingAccessReq) XXX_Merge ¶ added in v0.25.0
func (m *ThingAccessReq) XXX_Merge(src proto.Message)
func (*ThingAccessReq) XXX_Size ¶ added in v0.25.0
func (m *ThingAccessReq) XXX_Size() int
func (*ThingAccessReq) XXX_Unmarshal ¶ added in v0.25.0
func (m *ThingAccessReq) XXX_Unmarshal(b []byte) error
type ThingID ¶
type ThingID struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ThingID) Descriptor ¶
func (*ThingID) MarshalToSizedBuffer ¶
func (*ThingID) ProtoMessage ¶
func (*ThingID) ProtoMessage()
func (*ThingID) XXX_DiscardUnknown ¶
func (m *ThingID) XXX_DiscardUnknown()
func (*ThingID) XXX_Marshal ¶
func (*ThingID) XXX_Unmarshal ¶
type ThingIDs ¶ added in v0.31.1
type ThingIDs struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ThingIDs) Descriptor ¶ added in v0.31.1
func (*ThingIDs) MarshalToSizedBuffer ¶ added in v0.31.1
func (*ThingIDs) ProtoMessage ¶ added in v0.31.1
func (*ThingIDs) ProtoMessage()
func (*ThingIDs) XXX_DiscardUnknown ¶ added in v0.31.1
func (m *ThingIDs) XXX_DiscardUnknown()
func (*ThingIDs) XXX_Marshal ¶ added in v0.31.1
func (*ThingIDs) XXX_Unmarshal ¶ added in v0.31.1
type ThingKey ¶ added in v0.30.1
type ThingKey struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ThingKey) Descriptor ¶ added in v0.30.1
func (*ThingKey) MarshalToSizedBuffer ¶ added in v0.30.1
func (*ThingKey) ProtoMessage ¶ added in v0.30.1
func (*ThingKey) ProtoMessage()
func (*ThingKey) XXX_DiscardUnknown ¶ added in v0.30.1
func (m *ThingKey) XXX_DiscardUnknown()
func (*ThingKey) XXX_Marshal ¶ added in v0.30.1
func (*ThingKey) XXX_Unmarshal ¶ added in v0.30.1
type ThingsServiceClient ¶
type ThingsServiceClient interface {
GetPubConfByKey(ctx context.Context, in *ThingKey, opts ...grpc.CallOption) (*PubConfByKeyRes, error)
GetConfigByThingID(ctx context.Context, in *ThingID, opts ...grpc.CallOption) (*ConfigByThingIDRes, error)
CanUserAccessThing(ctx context.Context, in *UserAccessReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
CanUserAccessProfile(ctx context.Context, in *UserAccessReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
CanUserAccessGroup(ctx context.Context, in *UserAccessReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
CanThingAccessGroup(ctx context.Context, in *ThingAccessReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
Identify(ctx context.Context, in *ThingKey, opts ...grpc.CallOption) (*ThingID, error)
GetGroupIDByThingID(ctx context.Context, in *ThingID, opts ...grpc.CallOption) (*GroupID, error)
GetGroupIDByProfileID(ctx context.Context, in *ProfileID, opts ...grpc.CallOption) (*GroupID, error)
GetGroupIDsByOrg(ctx context.Context, in *OrgAccessReq, opts ...grpc.CallOption) (*GroupIDs, error)
GetThingIDsByProfile(ctx context.Context, in *ProfileID, opts ...grpc.CallOption) (*ThingIDs, error)
}
ThingsServiceClient is the client API for ThingsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewThingsServiceClient ¶
func NewThingsServiceClient(cc *grpc.ClientConn) ThingsServiceClient
type ThingsServiceServer ¶
type ThingsServiceServer interface {
GetPubConfByKey(context.Context, *ThingKey) (*PubConfByKeyRes, error)
GetConfigByThingID(context.Context, *ThingID) (*ConfigByThingIDRes, error)
CanUserAccessThing(context.Context, *UserAccessReq) (*emptypb.Empty, error)
CanUserAccessProfile(context.Context, *UserAccessReq) (*emptypb.Empty, error)
CanUserAccessGroup(context.Context, *UserAccessReq) (*emptypb.Empty, error)
CanThingAccessGroup(context.Context, *ThingAccessReq) (*emptypb.Empty, error)
Identify(context.Context, *ThingKey) (*ThingID, error)
GetGroupIDByThingID(context.Context, *ThingID) (*GroupID, error)
GetGroupIDByProfileID(context.Context, *ProfileID) (*GroupID, error)
GetGroupIDsByOrg(context.Context, *OrgAccessReq) (*GroupIDs, error)
GetThingIDsByProfile(context.Context, *ProfileID) (*ThingIDs, error)
}
ThingsServiceServer is the server API for ThingsService service.
type Token ¶
type Token struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
If a token is not carrying any information itself, the type field can be used to determine how to validate the token. Also, different tokens can be encoded in different ways.
func (*Token) Descriptor ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶
func (*Token) XXX_Unmarshal ¶
type Transformer ¶
type Transformer struct {
DataFilters []string `protobuf:"bytes,1,rep,name=dataFilters,proto3" json:"dataFilters,omitempty"`
DataField string `protobuf:"bytes,2,opt,name=dataField,proto3" json:"dataField,omitempty"`
TimeField string `protobuf:"bytes,3,opt,name=timeField,proto3" json:"timeField,omitempty"`
TimeFormat string `protobuf:"bytes,4,opt,name=timeFormat,proto3" json:"timeFormat,omitempty"`
TimeLocation string `protobuf:"bytes,5,opt,name=timeLocation,proto3" json:"timeLocation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Transformer) Descriptor ¶
func (*Transformer) Descriptor() ([]byte, []int)
func (*Transformer) GetDataField ¶ added in v0.24.1
func (m *Transformer) GetDataField() string
func (*Transformer) GetDataFilters ¶ added in v0.24.1
func (m *Transformer) GetDataFilters() []string
func (*Transformer) GetTimeField ¶
func (m *Transformer) GetTimeField() string
func (*Transformer) GetTimeFormat ¶
func (m *Transformer) GetTimeFormat() string
func (*Transformer) GetTimeLocation ¶
func (m *Transformer) GetTimeLocation() string
func (*Transformer) Marshal ¶
func (m *Transformer) Marshal() (dAtA []byte, err error)
func (*Transformer) MarshalToSizedBuffer ¶
func (m *Transformer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Transformer) ProtoMessage ¶
func (*Transformer) ProtoMessage()
func (*Transformer) Reset ¶
func (m *Transformer) Reset()
func (*Transformer) Size ¶
func (m *Transformer) Size() (n int)
func (*Transformer) String ¶
func (m *Transformer) String() string
func (*Transformer) Unmarshal ¶
func (m *Transformer) Unmarshal(dAtA []byte) error
func (*Transformer) XXX_DiscardUnknown ¶
func (m *Transformer) XXX_DiscardUnknown()
func (*Transformer) XXX_Marshal ¶
func (m *Transformer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transformer) XXX_Merge ¶
func (m *Transformer) XXX_Merge(src proto.Message)
func (*Transformer) XXX_Size ¶
func (m *Transformer) XXX_Size() int
func (*Transformer) XXX_Unmarshal ¶
func (m *Transformer) XXX_Unmarshal(b []byte) error
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct {
}
UnimplementedAuthServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthServiceServer) ActivateOrgInvite ¶ added in v0.31.1
func (*UnimplementedAuthServiceServer) ActivateOrgInvite(ctx context.Context, req *ActivateOrgInviteReq) (*emptypb.Empty, error)
func (*UnimplementedAuthServiceServer) AssignRole ¶
func (*UnimplementedAuthServiceServer) AssignRole(ctx context.Context, req *AssignRoleReq) (*emptypb.Empty, error)
func (*UnimplementedAuthServiceServer) Authorize ¶
func (*UnimplementedAuthServiceServer) Authorize(ctx context.Context, req *AuthorizeReq) (*emptypb.Empty, error)
func (*UnimplementedAuthServiceServer) CreateDormantOrgInvite ¶ added in v0.31.1
func (*UnimplementedAuthServiceServer) CreateDormantOrgInvite(ctx context.Context, req *CreateDormantOrgInviteReq) (*emptypb.Empty, error)
func (*UnimplementedAuthServiceServer) GetOwnerIDByOrgID ¶ added in v0.25.0
func (*UnimplementedAuthServiceServer) Identify ¶
func (*UnimplementedAuthServiceServer) Identify(ctx context.Context, req *Token) (*UserIdentity, error)
func (*UnimplementedAuthServiceServer) RetrieveRole ¶
func (*UnimplementedAuthServiceServer) RetrieveRole(ctx context.Context, req *RetrieveRoleReq) (*RetrieveRoleRes, error)
type UnimplementedRulesServiceServer ¶ added in v0.28.0
type UnimplementedRulesServiceServer struct {
}
UnimplementedRulesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedRulesServiceServer) Publish ¶ added in v0.28.0
func (*UnimplementedRulesServiceServer) Publish(ctx context.Context, req *PublishReq) (*emptypb.Empty, error)
type UnimplementedThingsServiceServer ¶
type UnimplementedThingsServiceServer struct {
}
UnimplementedThingsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedThingsServiceServer) CanThingAccessGroup ¶ added in v0.25.0
func (*UnimplementedThingsServiceServer) CanThingAccessGroup(ctx context.Context, req *ThingAccessReq) (*emptypb.Empty, error)
func (*UnimplementedThingsServiceServer) CanUserAccessGroup ¶ added in v0.25.0
func (*UnimplementedThingsServiceServer) CanUserAccessGroup(ctx context.Context, req *UserAccessReq) (*emptypb.Empty, error)
func (*UnimplementedThingsServiceServer) CanUserAccessProfile ¶ added in v0.25.0
func (*UnimplementedThingsServiceServer) CanUserAccessProfile(ctx context.Context, req *UserAccessReq) (*emptypb.Empty, error)
func (*UnimplementedThingsServiceServer) CanUserAccessThing ¶ added in v0.25.0
func (*UnimplementedThingsServiceServer) CanUserAccessThing(ctx context.Context, req *UserAccessReq) (*emptypb.Empty, error)
func (*UnimplementedThingsServiceServer) GetConfigByThingID ¶ added in v0.24.0
func (*UnimplementedThingsServiceServer) GetConfigByThingID(ctx context.Context, req *ThingID) (*ConfigByThingIDRes, error)
func (*UnimplementedThingsServiceServer) GetGroupIDByProfileID ¶ added in v0.28.0
func (*UnimplementedThingsServiceServer) GetGroupIDByThingID ¶ added in v0.22.0
func (*UnimplementedThingsServiceServer) GetGroupIDsByOrg ¶ added in v0.30.0
func (*UnimplementedThingsServiceServer) GetGroupIDsByOrg(ctx context.Context, req *OrgAccessReq) (*GroupIDs, error)
func (*UnimplementedThingsServiceServer) GetPubConfByKey ¶ added in v0.24.0
func (*UnimplementedThingsServiceServer) GetPubConfByKey(ctx context.Context, req *ThingKey) (*PubConfByKeyRes, error)
func (*UnimplementedThingsServiceServer) GetThingIDsByProfile ¶ added in v0.31.1
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct {
}
UnimplementedUsersServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUsersServiceServer) GetUsersByEmails ¶
func (*UnimplementedUsersServiceServer) GetUsersByEmails(ctx context.Context, req *UsersByEmailsReq) (*UsersRes, error)
func (*UnimplementedUsersServiceServer) GetUsersByIDs ¶
func (*UnimplementedUsersServiceServer) GetUsersByIDs(ctx context.Context, req *UsersByIDsReq) (*UsersRes, error)
type User ¶
type User struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*User) Descriptor ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserAccessReq ¶ added in v0.25.0
type UserAccessReq struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UserAccessReq) Descriptor ¶ added in v0.25.0
func (*UserAccessReq) Descriptor() ([]byte, []int)
func (*UserAccessReq) GetAction ¶ added in v0.25.0
func (m *UserAccessReq) GetAction() string
func (*UserAccessReq) GetId ¶ added in v0.25.0
func (m *UserAccessReq) GetId() string
func (*UserAccessReq) GetToken ¶ added in v0.25.0
func (m *UserAccessReq) GetToken() string
func (*UserAccessReq) Marshal ¶ added in v0.25.0
func (m *UserAccessReq) Marshal() (dAtA []byte, err error)
func (*UserAccessReq) MarshalTo ¶ added in v0.25.0
func (m *UserAccessReq) MarshalTo(dAtA []byte) (int, error)
func (*UserAccessReq) MarshalToSizedBuffer ¶ added in v0.25.0
func (m *UserAccessReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserAccessReq) ProtoMessage ¶ added in v0.25.0
func (*UserAccessReq) ProtoMessage()
func (*UserAccessReq) Reset ¶ added in v0.25.0
func (m *UserAccessReq) Reset()
func (*UserAccessReq) Size ¶ added in v0.25.0
func (m *UserAccessReq) Size() (n int)
func (*UserAccessReq) String ¶ added in v0.25.0
func (m *UserAccessReq) String() string
func (*UserAccessReq) Unmarshal ¶ added in v0.25.0
func (m *UserAccessReq) Unmarshal(dAtA []byte) error
func (*UserAccessReq) XXX_DiscardUnknown ¶ added in v0.25.0
func (m *UserAccessReq) XXX_DiscardUnknown()
func (*UserAccessReq) XXX_Marshal ¶ added in v0.25.0
func (m *UserAccessReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserAccessReq) XXX_Merge ¶ added in v0.25.0
func (m *UserAccessReq) XXX_Merge(src proto.Message)
func (*UserAccessReq) XXX_Size ¶ added in v0.25.0
func (m *UserAccessReq) XXX_Size() int
func (*UserAccessReq) XXX_Unmarshal ¶ added in v0.25.0
func (m *UserAccessReq) XXX_Unmarshal(b []byte) error
type UserIdentity ¶
type UserIdentity struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UserIdentity) Descriptor ¶
func (*UserIdentity) Descriptor() ([]byte, []int)
func (*UserIdentity) GetEmail ¶
func (m *UserIdentity) GetEmail() string
func (*UserIdentity) GetId ¶
func (m *UserIdentity) GetId() string
func (*UserIdentity) Marshal ¶
func (m *UserIdentity) Marshal() (dAtA []byte, err error)
func (*UserIdentity) MarshalToSizedBuffer ¶
func (m *UserIdentity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserIdentity) ProtoMessage ¶
func (*UserIdentity) ProtoMessage()
func (*UserIdentity) Reset ¶
func (m *UserIdentity) Reset()
func (*UserIdentity) Size ¶
func (m *UserIdentity) Size() (n int)
func (*UserIdentity) String ¶
func (m *UserIdentity) String() string
func (*UserIdentity) Unmarshal ¶
func (m *UserIdentity) Unmarshal(dAtA []byte) error
func (*UserIdentity) XXX_DiscardUnknown ¶
func (m *UserIdentity) XXX_DiscardUnknown()
func (*UserIdentity) XXX_Marshal ¶
func (m *UserIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserIdentity) XXX_Merge ¶
func (m *UserIdentity) XXX_Merge(src proto.Message)
func (*UserIdentity) XXX_Size ¶
func (m *UserIdentity) XXX_Size() int
func (*UserIdentity) XXX_Unmarshal ¶
func (m *UserIdentity) XXX_Unmarshal(b []byte) error
type UsersByEmailsReq ¶
type UsersByEmailsReq struct {
Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UsersByEmailsReq) Descriptor ¶
func (*UsersByEmailsReq) Descriptor() ([]byte, []int)
func (*UsersByEmailsReq) GetEmails ¶
func (m *UsersByEmailsReq) GetEmails() []string
func (*UsersByEmailsReq) Marshal ¶
func (m *UsersByEmailsReq) Marshal() (dAtA []byte, err error)
func (*UsersByEmailsReq) MarshalToSizedBuffer ¶
func (m *UsersByEmailsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UsersByEmailsReq) ProtoMessage ¶
func (*UsersByEmailsReq) ProtoMessage()
func (*UsersByEmailsReq) Reset ¶
func (m *UsersByEmailsReq) Reset()
func (*UsersByEmailsReq) Size ¶
func (m *UsersByEmailsReq) Size() (n int)
func (*UsersByEmailsReq) String ¶
func (m *UsersByEmailsReq) String() string
func (*UsersByEmailsReq) Unmarshal ¶
func (m *UsersByEmailsReq) Unmarshal(dAtA []byte) error
func (*UsersByEmailsReq) XXX_DiscardUnknown ¶
func (m *UsersByEmailsReq) XXX_DiscardUnknown()
func (*UsersByEmailsReq) XXX_Marshal ¶
func (m *UsersByEmailsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsersByEmailsReq) XXX_Merge ¶
func (m *UsersByEmailsReq) XXX_Merge(src proto.Message)
func (*UsersByEmailsReq) XXX_Size ¶
func (m *UsersByEmailsReq) XXX_Size() int
func (*UsersByEmailsReq) XXX_Unmarshal ¶
func (m *UsersByEmailsReq) XXX_Unmarshal(b []byte) error
type UsersByIDsReq ¶
type UsersByIDsReq struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
PageMetadata *PageMetadata `protobuf:"bytes,2,opt,name=pageMetadata,proto3" json:"pageMetadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UsersByIDsReq) Descriptor ¶
func (*UsersByIDsReq) Descriptor() ([]byte, []int)
func (*UsersByIDsReq) GetIds ¶
func (m *UsersByIDsReq) GetIds() []string
func (*UsersByIDsReq) GetPageMetadata ¶ added in v0.29.1
func (m *UsersByIDsReq) GetPageMetadata() *PageMetadata
func (*UsersByIDsReq) Marshal ¶
func (m *UsersByIDsReq) Marshal() (dAtA []byte, err error)
func (*UsersByIDsReq) MarshalToSizedBuffer ¶
func (m *UsersByIDsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UsersByIDsReq) ProtoMessage ¶
func (*UsersByIDsReq) ProtoMessage()
func (*UsersByIDsReq) Reset ¶
func (m *UsersByIDsReq) Reset()
func (*UsersByIDsReq) Size ¶
func (m *UsersByIDsReq) Size() (n int)
func (*UsersByIDsReq) String ¶
func (m *UsersByIDsReq) String() string
func (*UsersByIDsReq) Unmarshal ¶
func (m *UsersByIDsReq) Unmarshal(dAtA []byte) error
func (*UsersByIDsReq) XXX_DiscardUnknown ¶
func (m *UsersByIDsReq) XXX_DiscardUnknown()
func (*UsersByIDsReq) XXX_Marshal ¶
func (m *UsersByIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsersByIDsReq) XXX_Merge ¶
func (m *UsersByIDsReq) XXX_Merge(src proto.Message)
func (*UsersByIDsReq) XXX_Size ¶
func (m *UsersByIDsReq) XXX_Size() int
func (*UsersByIDsReq) XXX_Unmarshal ¶
func (m *UsersByIDsReq) XXX_Unmarshal(b []byte) error
type UsersRes ¶
type UsersRes struct {
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
PageMetadata *PageMetadata `protobuf:"bytes,2,opt,name=pageMetadata,proto3" json:"pageMetadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UsersRes) Descriptor ¶
func (*UsersRes) GetPageMetadata ¶ added in v0.29.1
func (m *UsersRes) GetPageMetadata() *PageMetadata
func (*UsersRes) MarshalToSizedBuffer ¶
func (*UsersRes) ProtoMessage ¶
func (*UsersRes) ProtoMessage()
func (*UsersRes) XXX_DiscardUnknown ¶
func (m *UsersRes) XXX_DiscardUnknown()
func (*UsersRes) XXX_Marshal ¶
func (*UsersRes) XXX_Unmarshal ¶
type UsersServiceClient ¶
type UsersServiceClient interface {
GetUsersByIDs(ctx context.Context, in *UsersByIDsReq, opts ...grpc.CallOption) (*UsersRes, error)
GetUsersByEmails(ctx context.Context, in *UsersByEmailsReq, opts ...grpc.CallOption) (*UsersRes, error)
}
UsersServiceClient is the client API for UsersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc *grpc.ClientConn) UsersServiceClient
type UsersServiceServer ¶
type UsersServiceServer interface {
GetUsersByIDs(context.Context, *UsersByIDsReq) (*UsersRes, error)
GetUsersByEmails(context.Context, *UsersByEmailsReq) (*UsersRes, error)
}
UsersServiceServer is the server API for UsersService service.