Documentation ¶
Index ¶
- Variables
- func RegisterAnarchyServer(s grpc.ServiceRegistrar, srv AnarchyServer)
- func RegisterElementalServer(s grpc.ServiceRegistrar, srv ElementalServer)
- type AnarchyClient
- type AnarchyCombination
- func (*AnarchyCombination) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyCombination) GetElem1() string
- func (x *AnarchyCombination) GetElem2() string
- func (*AnarchyCombination) ProtoMessage()
- func (x *AnarchyCombination) ProtoReflect() protoreflect.Message
- func (x *AnarchyCombination) Reset()
- func (x *AnarchyCombination) String() string
- type AnarchyCombinationResult
- func (*AnarchyCombinationResult) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyCombinationResult) GetData() string
- func (x *AnarchyCombinationResult) GetExists() bool
- func (*AnarchyCombinationResult) ProtoMessage()
- func (x *AnarchyCombinationResult) ProtoReflect() protoreflect.Message
- func (x *AnarchyCombinationResult) Reset()
- func (x *AnarchyCombinationResult) String() string
- type AnarchyElement
- func (*AnarchyElement) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyElement) GetColor() string
- func (x *AnarchyElement) GetComment() string
- func (x *AnarchyElement) GetComplexity() int64
- func (x *AnarchyElement) GetCreatedOn() int64
- func (x *AnarchyElement) GetCreator() string
- func (x *AnarchyElement) GetFoundBy() int64
- func (x *AnarchyElement) GetName() string
- func (x *AnarchyElement) GetParents() []string
- func (x *AnarchyElement) GetUses() int64
- func (*AnarchyElement) ProtoMessage()
- func (x *AnarchyElement) ProtoReflect() protoreflect.Message
- func (x *AnarchyElement) Reset()
- func (x *AnarchyElement) String() string
- type AnarchyElementCreate
- func (*AnarchyElementCreate) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyElementCreate) GetColor() string
- func (x *AnarchyElementCreate) GetComment() string
- func (x *AnarchyElementCreate) GetElem1() string
- func (x *AnarchyElementCreate) GetElem2() string
- func (x *AnarchyElementCreate) GetElem3() string
- func (x *AnarchyElementCreate) GetUid() string
- func (*AnarchyElementCreate) ProtoMessage()
- func (x *AnarchyElementCreate) ProtoReflect() protoreflect.Message
- func (x *AnarchyElementCreate) Reset()
- func (x *AnarchyElementCreate) String() string
- type AnarchyGetAllChunk
- func (*AnarchyGetAllChunk) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyGetAllChunk) GetCount() int64
- func (x *AnarchyGetAllChunk) GetElements() []*AnarchyElement
- func (*AnarchyGetAllChunk) ProtoMessage()
- func (x *AnarchyGetAllChunk) ProtoReflect() protoreflect.Message
- func (x *AnarchyGetAllChunk) Reset()
- func (x *AnarchyGetAllChunk) String() string
- type AnarchyInventory
- type AnarchyRecentCombination
- func (*AnarchyRecentCombination) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyRecentCombination) GetElem1() string
- func (x *AnarchyRecentCombination) GetElem2() string
- func (x *AnarchyRecentCombination) GetElem3() string
- func (*AnarchyRecentCombination) ProtoMessage()
- func (x *AnarchyRecentCombination) ProtoReflect() protoreflect.Message
- func (x *AnarchyRecentCombination) Reset()
- func (x *AnarchyRecentCombination) String() string
- type AnarchyRecents
- func (*AnarchyRecents) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyRecents) GetRecents() []*AnarchyRecentCombination
- func (*AnarchyRecents) ProtoMessage()
- func (x *AnarchyRecents) ProtoReflect() protoreflect.Message
- func (x *AnarchyRecents) Reset()
- func (x *AnarchyRecents) String() string
- type AnarchyServer
- type AnarchyUserRequest
- func (*AnarchyUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnarchyUserRequest) GetElement() string
- func (x *AnarchyUserRequest) GetUid() string
- func (*AnarchyUserRequest) ProtoMessage()
- func (x *AnarchyUserRequest) ProtoReflect() protoreflect.Message
- func (x *AnarchyUserRequest) Reset()
- func (x *AnarchyUserRequest) String() string
- type Anarchy_GetAllClient
- type Anarchy_GetAllServer
- type Anarchy_WaitForNextRecentClient
- type Anarchy_WaitForNextRecentServer
- type Color
- func (*Color) Descriptor() ([]byte, []int)deprecated
- func (x *Color) GetBase() string
- func (x *Color) GetLightness() float32
- func (x *Color) GetSaturation() float32
- func (*Color) ProtoMessage()
- func (x *Color) ProtoReflect() protoreflect.Message
- func (x *Color) Reset()
- func (x *Color) String() string
- type Combination
- type CombinationResult
- func (*CombinationResult) Descriptor() ([]byte, []int)deprecated
- func (x *CombinationResult) GetData() string
- func (x *CombinationResult) GetExists() bool
- func (*CombinationResult) ProtoMessage()
- func (x *CombinationResult) ProtoReflect() protoreflect.Message
- func (x *CombinationResult) Reset()
- func (x *CombinationResult) String() string
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetElem1() string
- func (x *CreateRequest) GetElem2() string
- func (x *CreateRequest) GetId() string
- func (x *CreateRequest) GetMark() string
- func (x *CreateRequest) GetPioneer() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type Element
- func (*Element) Descriptor() ([]byte, []int)deprecated
- func (x *Element) GetColor() string
- func (x *Element) GetComment() string
- func (x *Element) GetComplexity() int64
- func (x *Element) GetCreatedOn() int64
- func (x *Element) GetCreator() string
- func (x *Element) GetFoundBy() int64
- func (x *Element) GetName() string
- func (x *Element) GetParents() []string
- func (x *Element) GetPioneer() string
- func (x *Element) GetUses() int64
- func (*Element) ProtoMessage()
- func (x *Element) ProtoReflect() protoreflect.Message
- func (x *Element) Reset()
- func (x *Element) String() string
- type ElementalClient
- type ElementalServer
- type Elemental_GetAllClient
- type Elemental_GetAllServer
- type Elemental_WaitForNextRecentClient
- type Elemental_WaitForNextRecentServer
- type GetAllChunk
- func (*GetAllChunk) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllChunk) GetCount() int64
- func (x *GetAllChunk) GetElements() []*Element
- func (*GetAllChunk) ProtoMessage()
- func (x *GetAllChunk) ProtoReflect() protoreflect.Message
- func (x *GetAllChunk) Reset()
- func (x *GetAllChunk) String() string
- type Inventory
- type NewSuggestionRequest
- func (*NewSuggestionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewSuggestionRequest) GetElem1() string
- func (x *NewSuggestionRequest) GetElem2() string
- func (x *NewSuggestionRequest) GetSuggestion() *Suggestion
- func (*NewSuggestionRequest) ProtoMessage()
- func (x *NewSuggestionRequest) ProtoReflect() protoreflect.Message
- func (x *NewSuggestionRequest) Reset()
- func (x *NewSuggestionRequest) String() string
- type RandomCombinationResponse
- func (*RandomCombinationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RandomCombinationResponse) GetElements() []string
- func (*RandomCombinationResponse) ProtoMessage()
- func (x *RandomCombinationResponse) ProtoReflect() protoreflect.Message
- func (x *RandomCombinationResponse) Reset()
- func (x *RandomCombinationResponse) String() string
- type RecentCombination
- func (*RecentCombination) Descriptor() ([]byte, []int)deprecated
- func (x *RecentCombination) GetElem1() string
- func (x *RecentCombination) GetElem2() string
- func (x *RecentCombination) GetElem3() string
- func (*RecentCombination) ProtoMessage()
- func (x *RecentCombination) ProtoReflect() protoreflect.Message
- func (x *RecentCombination) Reset()
- func (x *RecentCombination) String() string
- type Recents
- type Suggestion
- func (*Suggestion) Descriptor() ([]byte, []int)deprecated
- func (x *Suggestion) GetColor() *Color
- func (x *Suggestion) GetCreator() string
- func (x *Suggestion) GetName() string
- func (x *Suggestion) GetVoted() []string
- func (x *Suggestion) GetVotes() int64
- func (*Suggestion) ProtoMessage()
- func (x *Suggestion) ProtoReflect() protoreflect.Message
- func (x *Suggestion) Reset()
- func (x *Suggestion) String() string
- type SuggestionCombinationResponse
- func (*SuggestionCombinationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestionCombinationResponse) GetSuggestions() []string
- func (*SuggestionCombinationResponse) ProtoMessage()
- func (x *SuggestionCombinationResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestionCombinationResponse) Reset()
- func (x *SuggestionCombinationResponse) String() string
- type SuggestionRequest
- func (*SuggestionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestionRequest) GetElement() string
- func (x *SuggestionRequest) GetUid() string
- func (*SuggestionRequest) ProtoMessage()
- func (x *SuggestionRequest) ProtoReflect() protoreflect.Message
- func (x *SuggestionRequest) Reset()
- func (x *SuggestionRequest) String() string
- type UnimplementedAnarchyServer
- func (UnimplementedAnarchyServer) AddFound(context.Context, *AnarchyUserRequest) (*emptypb.Empty, error)
- func (UnimplementedAnarchyServer) CreateElement(context.Context, *AnarchyElementCreate) (*emptypb.Empty, error)
- func (UnimplementedAnarchyServer) GetAll(*wrapperspb.StringValue, Anarchy_GetAllServer) error
- func (UnimplementedAnarchyServer) GetCombination(context.Context, *AnarchyCombination) (*AnarchyCombinationResult, error)
- func (UnimplementedAnarchyServer) GetElem(context.Context, *wrapperspb.StringValue) (*AnarchyElement, error)
- func (UnimplementedAnarchyServer) GetInv(context.Context, *wrapperspb.StringValue) (*AnarchyInventory, error)
- func (UnimplementedAnarchyServer) GetRecents(context.Context, *emptypb.Empty) (*AnarchyRecents, error)
- func (UnimplementedAnarchyServer) WaitForNextRecent(*emptypb.Empty, Anarchy_WaitForNextRecentServer) error
- type UnimplementedElementalServer
- func (UnimplementedElementalServer) AddFound(context.Context, *SuggestionRequest) (*emptypb.Empty, error)
- func (UnimplementedElementalServer) CreateSugg(context.Context, *CreateRequest) (*emptypb.Empty, error)
- func (UnimplementedElementalServer) DownSuggestion(context.Context, *SuggestionRequest) (*VoteResponse, error)
- func (UnimplementedElementalServer) GetAll(*wrapperspb.StringValue, Elemental_GetAllServer) error
- func (UnimplementedElementalServer) GetCombination(context.Context, *Combination) (*CombinationResult, error)
- func (UnimplementedElementalServer) GetElem(context.Context, *wrapperspb.StringValue) (*Element, error)
- func (UnimplementedElementalServer) GetInv(context.Context, *wrapperspb.StringValue) (*Inventory, error)
- func (UnimplementedElementalServer) GetRec(context.Context, *emptypb.Empty) (*Recents, error)
- func (UnimplementedElementalServer) GetSuggestion(context.Context, *wrapperspb.StringValue) (*Suggestion, error)
- func (UnimplementedElementalServer) GetSuggestionCombos(context.Context, *Combination) (*SuggestionCombinationResponse, error)
- func (UnimplementedElementalServer) NewSugg(context.Context, *NewSuggestionRequest) (*VoteResponse, error)
- func (UnimplementedElementalServer) RandomLonely(context.Context, *wrapperspb.StringValue) (*RandomCombinationResponse, error)
- func (UnimplementedElementalServer) UpAndComing(context.Context, *wrapperspb.StringValue) (*RandomCombinationResponse, error)
- func (UnimplementedElementalServer) UpSuggestion(context.Context, *SuggestionRequest) (*VoteResponse, error)
- func (UnimplementedElementalServer) WaitForNextRecent(*emptypb.Empty, Elemental_WaitForNextRecentServer) error
- type UnsafeAnarchyServer
- type UnsafeElementalServer
- type VoteResponse
Constants ¶
This section is empty.
Variables ¶
var Anarchy_ServiceDesc = grpc.ServiceDesc{ ServiceName: "anarchy.Anarchy", HandlerType: (*AnarchyServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetElem", Handler: _Anarchy_GetElem_Handler, }, { MethodName: "GetCombination", Handler: _Anarchy_GetCombination_Handler, }, { MethodName: "CreateElement", Handler: _Anarchy_CreateElement_Handler, }, { MethodName: "GetInv", Handler: _Anarchy_GetInv_Handler, }, { MethodName: "AddFound", Handler: _Anarchy_AddFound_Handler, }, { MethodName: "GetRecents", Handler: _Anarchy_GetRecents_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _Anarchy_GetAll_Handler, ServerStreams: true, }, { StreamName: "WaitForNextRecent", Handler: _Anarchy_WaitForNextRecent_Handler, ServerStreams: true, }, }, Metadata: "anarchy.proto", }
Anarchy_ServiceDesc is the grpc.ServiceDesc for Anarchy service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Elemental_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elemental.Elemental", HandlerType: (*ElementalServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetElem", Handler: _Elemental_GetElem_Handler, }, { MethodName: "GetCombination", Handler: _Elemental_GetCombination_Handler, }, { MethodName: "GetInv", Handler: _Elemental_GetInv_Handler, }, { MethodName: "AddFound", Handler: _Elemental_AddFound_Handler, }, { MethodName: "GetSuggestion", Handler: _Elemental_GetSuggestion_Handler, }, { MethodName: "GetSuggestionCombos", Handler: _Elemental_GetSuggestionCombos_Handler, }, { MethodName: "UpSuggestion", Handler: _Elemental_UpSuggestion_Handler, }, { MethodName: "DownSuggestion", Handler: _Elemental_DownSuggestion_Handler, }, { MethodName: "CreateSugg", Handler: _Elemental_CreateSugg_Handler, }, { MethodName: "NewSugg", Handler: _Elemental_NewSugg_Handler, }, { MethodName: "RandomLonely", Handler: _Elemental_RandomLonely_Handler, }, { MethodName: "UpAndComing", Handler: _Elemental_UpAndComing_Handler, }, { MethodName: "GetRec", Handler: _Elemental_GetRec_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _Elemental_GetAll_Handler, ServerStreams: true, }, { StreamName: "WaitForNextRecent", Handler: _Elemental_WaitForNextRecent_Handler, ServerStreams: true, }, }, Metadata: "elemental.proto", }
Elemental_ServiceDesc is the grpc.ServiceDesc for Elemental service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_anarchy_proto protoreflect.FileDescriptor
var File_elemental_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnarchyServer ¶
func RegisterAnarchyServer(s grpc.ServiceRegistrar, srv AnarchyServer)
func RegisterElementalServer ¶
func RegisterElementalServer(s grpc.ServiceRegistrar, srv ElementalServer)
Types ¶
type AnarchyClient ¶
type AnarchyClient interface { // Elements GetElem(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*AnarchyElement, error) GetCombination(ctx context.Context, in *AnarchyCombination, opts ...grpc.CallOption) (*AnarchyCombinationResult, error) GetAll(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (Anarchy_GetAllClient, error) CreateElement(ctx context.Context, in *AnarchyElementCreate, opts ...grpc.CallOption) (*emptypb.Empty, error) // Savefile GetInv(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*AnarchyInventory, error) AddFound(ctx context.Context, in *AnarchyUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Recents GetRecents(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AnarchyRecents, error) WaitForNextRecent(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Anarchy_WaitForNextRecentClient, error) }
AnarchyClient is the client API for Anarchy service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAnarchyClient ¶
func NewAnarchyClient(cc grpc.ClientConnInterface) AnarchyClient
type AnarchyCombination ¶
type AnarchyCombination struct { Elem1 string `protobuf:"bytes,1,opt,name=elem1,proto3" json:"elem1,omitempty"` Elem2 string `protobuf:"bytes,2,opt,name=elem2,proto3" json:"elem2,omitempty"` // contains filtered or unexported fields }
func (*AnarchyCombination) Descriptor
deprecated
func (*AnarchyCombination) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyCombination.ProtoReflect.Descriptor instead.
func (*AnarchyCombination) GetElem1 ¶
func (x *AnarchyCombination) GetElem1() string
func (*AnarchyCombination) GetElem2 ¶
func (x *AnarchyCombination) GetElem2() string
func (*AnarchyCombination) ProtoMessage ¶
func (*AnarchyCombination) ProtoMessage()
func (*AnarchyCombination) ProtoReflect ¶
func (x *AnarchyCombination) ProtoReflect() protoreflect.Message
func (*AnarchyCombination) Reset ¶
func (x *AnarchyCombination) Reset()
func (*AnarchyCombination) String ¶
func (x *AnarchyCombination) String() string
type AnarchyCombinationResult ¶
type AnarchyCombinationResult struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*AnarchyCombinationResult) Descriptor
deprecated
func (*AnarchyCombinationResult) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyCombinationResult.ProtoReflect.Descriptor instead.
func (*AnarchyCombinationResult) GetData ¶
func (x *AnarchyCombinationResult) GetData() string
func (*AnarchyCombinationResult) GetExists ¶
func (x *AnarchyCombinationResult) GetExists() bool
func (*AnarchyCombinationResult) ProtoMessage ¶
func (*AnarchyCombinationResult) ProtoMessage()
func (*AnarchyCombinationResult) ProtoReflect ¶
func (x *AnarchyCombinationResult) ProtoReflect() protoreflect.Message
func (*AnarchyCombinationResult) Reset ¶
func (x *AnarchyCombinationResult) Reset()
func (*AnarchyCombinationResult) String ¶
func (x *AnarchyCombinationResult) String() string
type AnarchyElement ¶
type AnarchyElement struct { Color string `protobuf:"bytes,1,opt,name=Color,proto3" json:"Color,omitempty"` Comment string `protobuf:"bytes,2,opt,name=Comment,proto3" json:"Comment,omitempty"` CreatedOn int64 `protobuf:"varint,3,opt,name=CreatedOn,proto3" json:"CreatedOn,omitempty"` Creator string `protobuf:"bytes,4,opt,name=Creator,proto3" json:"Creator,omitempty"` Name string `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"` Parents []string `protobuf:"bytes,6,rep,name=Parents,proto3" json:"Parents,omitempty"` Uses int64 `protobuf:"varint,8,opt,name=Uses,proto3" json:"Uses,omitempty"` FoundBy int64 `protobuf:"varint,9,opt,name=FoundBy,proto3" json:"FoundBy,omitempty"` Complexity int64 `protobuf:"varint,10,opt,name=Complexity,proto3" json:"Complexity,omitempty"` // contains filtered or unexported fields }
func (*AnarchyElement) Descriptor
deprecated
func (*AnarchyElement) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyElement.ProtoReflect.Descriptor instead.
func (*AnarchyElement) GetColor ¶
func (x *AnarchyElement) GetColor() string
func (*AnarchyElement) GetComment ¶
func (x *AnarchyElement) GetComment() string
func (*AnarchyElement) GetComplexity ¶
func (x *AnarchyElement) GetComplexity() int64
func (*AnarchyElement) GetCreatedOn ¶
func (x *AnarchyElement) GetCreatedOn() int64
func (*AnarchyElement) GetCreator ¶
func (x *AnarchyElement) GetCreator() string
func (*AnarchyElement) GetFoundBy ¶
func (x *AnarchyElement) GetFoundBy() int64
func (*AnarchyElement) GetName ¶
func (x *AnarchyElement) GetName() string
func (*AnarchyElement) GetParents ¶
func (x *AnarchyElement) GetParents() []string
func (*AnarchyElement) GetUses ¶
func (x *AnarchyElement) GetUses() int64
func (*AnarchyElement) ProtoMessage ¶
func (*AnarchyElement) ProtoMessage()
func (*AnarchyElement) ProtoReflect ¶
func (x *AnarchyElement) ProtoReflect() protoreflect.Message
func (*AnarchyElement) Reset ¶
func (x *AnarchyElement) Reset()
func (*AnarchyElement) String ¶
func (x *AnarchyElement) String() string
type AnarchyElementCreate ¶
type AnarchyElementCreate struct { Elem1 string `protobuf:"bytes,1,opt,name=Elem1,proto3" json:"Elem1,omitempty"` Elem2 string `protobuf:"bytes,2,opt,name=Elem2,proto3" json:"Elem2,omitempty"` Elem3 string `protobuf:"bytes,3,opt,name=Elem3,proto3" json:"Elem3,omitempty"` Uid string `protobuf:"bytes,4,opt,name=Uid,proto3" json:"Uid,omitempty"` Color string `protobuf:"bytes,5,opt,name=Color,proto3" json:"Color,omitempty"` Comment string `protobuf:"bytes,6,opt,name=Comment,proto3" json:"Comment,omitempty"` // contains filtered or unexported fields }
func (*AnarchyElementCreate) Descriptor
deprecated
func (*AnarchyElementCreate) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyElementCreate.ProtoReflect.Descriptor instead.
func (*AnarchyElementCreate) GetColor ¶
func (x *AnarchyElementCreate) GetColor() string
func (*AnarchyElementCreate) GetComment ¶
func (x *AnarchyElementCreate) GetComment() string
func (*AnarchyElementCreate) GetElem1 ¶
func (x *AnarchyElementCreate) GetElem1() string
func (*AnarchyElementCreate) GetElem2 ¶
func (x *AnarchyElementCreate) GetElem2() string
func (*AnarchyElementCreate) GetElem3 ¶
func (x *AnarchyElementCreate) GetElem3() string
func (*AnarchyElementCreate) GetUid ¶
func (x *AnarchyElementCreate) GetUid() string
func (*AnarchyElementCreate) ProtoMessage ¶
func (*AnarchyElementCreate) ProtoMessage()
func (*AnarchyElementCreate) ProtoReflect ¶
func (x *AnarchyElementCreate) ProtoReflect() protoreflect.Message
func (*AnarchyElementCreate) Reset ¶
func (x *AnarchyElementCreate) Reset()
func (*AnarchyElementCreate) String ¶
func (x *AnarchyElementCreate) String() string
type AnarchyGetAllChunk ¶
type AnarchyGetAllChunk struct { Elements []*AnarchyElement `protobuf:"bytes,1,rep,name=Elements,proto3" json:"Elements,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*AnarchyGetAllChunk) Descriptor
deprecated
func (*AnarchyGetAllChunk) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyGetAllChunk.ProtoReflect.Descriptor instead.
func (*AnarchyGetAllChunk) GetCount ¶
func (x *AnarchyGetAllChunk) GetCount() int64
func (*AnarchyGetAllChunk) GetElements ¶
func (x *AnarchyGetAllChunk) GetElements() []*AnarchyElement
func (*AnarchyGetAllChunk) ProtoMessage ¶
func (*AnarchyGetAllChunk) ProtoMessage()
func (*AnarchyGetAllChunk) ProtoReflect ¶
func (x *AnarchyGetAllChunk) ProtoReflect() protoreflect.Message
func (*AnarchyGetAllChunk) Reset ¶
func (x *AnarchyGetAllChunk) Reset()
func (*AnarchyGetAllChunk) String ¶
func (x *AnarchyGetAllChunk) String() string
type AnarchyInventory ¶
type AnarchyInventory struct { Found []string `protobuf:"bytes,1,rep,name=Found,proto3" json:"Found,omitempty"` // contains filtered or unexported fields }
func (*AnarchyInventory) Descriptor
deprecated
func (*AnarchyInventory) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyInventory.ProtoReflect.Descriptor instead.
func (*AnarchyInventory) GetFound ¶
func (x *AnarchyInventory) GetFound() []string
func (*AnarchyInventory) ProtoMessage ¶
func (*AnarchyInventory) ProtoMessage()
func (*AnarchyInventory) ProtoReflect ¶
func (x *AnarchyInventory) ProtoReflect() protoreflect.Message
func (*AnarchyInventory) Reset ¶
func (x *AnarchyInventory) Reset()
func (*AnarchyInventory) String ¶
func (x *AnarchyInventory) String() string
type AnarchyRecentCombination ¶
type AnarchyRecentCombination struct { Elem1 string `protobuf:"bytes,1,opt,name=Elem1,proto3" json:"Elem1,omitempty"` Elem2 string `protobuf:"bytes,2,opt,name=Elem2,proto3" json:"Elem2,omitempty"` Elem3 string `protobuf:"bytes,3,opt,name=Elem3,proto3" json:"Elem3,omitempty"` // contains filtered or unexported fields }
func (*AnarchyRecentCombination) Descriptor
deprecated
func (*AnarchyRecentCombination) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyRecentCombination.ProtoReflect.Descriptor instead.
func (*AnarchyRecentCombination) GetElem1 ¶
func (x *AnarchyRecentCombination) GetElem1() string
func (*AnarchyRecentCombination) GetElem2 ¶
func (x *AnarchyRecentCombination) GetElem2() string
func (*AnarchyRecentCombination) GetElem3 ¶
func (x *AnarchyRecentCombination) GetElem3() string
func (*AnarchyRecentCombination) ProtoMessage ¶
func (*AnarchyRecentCombination) ProtoMessage()
func (*AnarchyRecentCombination) ProtoReflect ¶
func (x *AnarchyRecentCombination) ProtoReflect() protoreflect.Message
func (*AnarchyRecentCombination) Reset ¶
func (x *AnarchyRecentCombination) Reset()
func (*AnarchyRecentCombination) String ¶
func (x *AnarchyRecentCombination) String() string
type AnarchyRecents ¶
type AnarchyRecents struct { Recents []*AnarchyRecentCombination `protobuf:"bytes,1,rep,name=Recents,proto3" json:"Recents,omitempty"` // contains filtered or unexported fields }
func (*AnarchyRecents) Descriptor
deprecated
func (*AnarchyRecents) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyRecents.ProtoReflect.Descriptor instead.
func (*AnarchyRecents) GetRecents ¶
func (x *AnarchyRecents) GetRecents() []*AnarchyRecentCombination
func (*AnarchyRecents) ProtoMessage ¶
func (*AnarchyRecents) ProtoMessage()
func (*AnarchyRecents) ProtoReflect ¶
func (x *AnarchyRecents) ProtoReflect() protoreflect.Message
func (*AnarchyRecents) Reset ¶
func (x *AnarchyRecents) Reset()
func (*AnarchyRecents) String ¶
func (x *AnarchyRecents) String() string
type AnarchyServer ¶
type AnarchyServer interface { // Elements GetElem(context.Context, *wrapperspb.StringValue) (*AnarchyElement, error) GetCombination(context.Context, *AnarchyCombination) (*AnarchyCombinationResult, error) GetAll(*wrapperspb.StringValue, Anarchy_GetAllServer) error CreateElement(context.Context, *AnarchyElementCreate) (*emptypb.Empty, error) // Savefile GetInv(context.Context, *wrapperspb.StringValue) (*AnarchyInventory, error) AddFound(context.Context, *AnarchyUserRequest) (*emptypb.Empty, error) // Recents GetRecents(context.Context, *emptypb.Empty) (*AnarchyRecents, error) WaitForNextRecent(*emptypb.Empty, Anarchy_WaitForNextRecentServer) error // contains filtered or unexported methods }
AnarchyServer is the server API for Anarchy service. All implementations must embed UnimplementedAnarchyServer for forward compatibility
type AnarchyUserRequest ¶
type AnarchyUserRequest struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Element string `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"` // contains filtered or unexported fields }
func (*AnarchyUserRequest) Descriptor
deprecated
func (*AnarchyUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnarchyUserRequest.ProtoReflect.Descriptor instead.
func (*AnarchyUserRequest) GetElement ¶
func (x *AnarchyUserRequest) GetElement() string
func (*AnarchyUserRequest) GetUid ¶
func (x *AnarchyUserRequest) GetUid() string
func (*AnarchyUserRequest) ProtoMessage ¶
func (*AnarchyUserRequest) ProtoMessage()
func (*AnarchyUserRequest) ProtoReflect ¶
func (x *AnarchyUserRequest) ProtoReflect() protoreflect.Message
func (*AnarchyUserRequest) Reset ¶
func (x *AnarchyUserRequest) Reset()
func (*AnarchyUserRequest) String ¶
func (x *AnarchyUserRequest) String() string
type Anarchy_GetAllClient ¶
type Anarchy_GetAllClient interface { Recv() (*AnarchyGetAllChunk, error) grpc.ClientStream }
type Anarchy_GetAllServer ¶
type Anarchy_GetAllServer interface { Send(*AnarchyGetAllChunk) error grpc.ServerStream }
type Anarchy_WaitForNextRecentClient ¶
type Anarchy_WaitForNextRecentClient interface { Recv() (*emptypb.Empty, error) grpc.ClientStream }
type Anarchy_WaitForNextRecentServer ¶
type Anarchy_WaitForNextRecentServer interface { Send(*emptypb.Empty) error grpc.ServerStream }
type Color ¶
type Color struct { Base string `protobuf:"bytes,1,opt,name=Base,proto3" json:"Base,omitempty"` Lightness float32 `protobuf:"fixed32,2,opt,name=Lightness,proto3" json:"Lightness,omitempty"` Saturation float32 `protobuf:"fixed32,3,opt,name=Saturation,proto3" json:"Saturation,omitempty"` // contains filtered or unexported fields }
func (*Color) Descriptor
deprecated
func (*Color) GetLightness ¶
func (*Color) GetSaturation ¶
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
func (*Color) ProtoReflect ¶
func (x *Color) ProtoReflect() protoreflect.Message
type Combination ¶
type Combination struct { Elem1 string `protobuf:"bytes,1,opt,name=elem1,proto3" json:"elem1,omitempty"` Elem2 string `protobuf:"bytes,2,opt,name=elem2,proto3" json:"elem2,omitempty"` // contains filtered or unexported fields }
func (*Combination) Descriptor
deprecated
func (*Combination) Descriptor() ([]byte, []int)
Deprecated: Use Combination.ProtoReflect.Descriptor instead.
func (*Combination) GetElem1 ¶
func (x *Combination) GetElem1() string
func (*Combination) GetElem2 ¶
func (x *Combination) GetElem2() string
func (*Combination) ProtoMessage ¶
func (*Combination) ProtoMessage()
func (*Combination) ProtoReflect ¶
func (x *Combination) ProtoReflect() protoreflect.Message
func (*Combination) Reset ¶
func (x *Combination) Reset()
func (*Combination) String ¶
func (x *Combination) String() string
type CombinationResult ¶
type CombinationResult struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*CombinationResult) Descriptor
deprecated
func (*CombinationResult) Descriptor() ([]byte, []int)
Deprecated: Use CombinationResult.ProtoReflect.Descriptor instead.
func (*CombinationResult) GetData ¶
func (x *CombinationResult) GetData() string
func (*CombinationResult) GetExists ¶
func (x *CombinationResult) GetExists() bool
func (*CombinationResult) ProtoMessage ¶
func (*CombinationResult) ProtoMessage()
func (*CombinationResult) ProtoReflect ¶
func (x *CombinationResult) ProtoReflect() protoreflect.Message
func (*CombinationResult) Reset ¶
func (x *CombinationResult) Reset()
func (*CombinationResult) String ¶
func (x *CombinationResult) String() string
type CreateRequest ¶
type CreateRequest struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` Elem1 string `protobuf:"bytes,2,opt,name=Elem1,proto3" json:"Elem1,omitempty"` Elem2 string `protobuf:"bytes,3,opt,name=Elem2,proto3" json:"Elem2,omitempty"` Mark string `protobuf:"bytes,4,opt,name=Mark,proto3" json:"Mark,omitempty"` Pioneer string `protobuf:"bytes,5,opt,name=Pioneer,proto3" json:"Pioneer,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetElem1 ¶
func (x *CreateRequest) GetElem1() string
func (*CreateRequest) GetElem2 ¶
func (x *CreateRequest) GetElem2() string
func (*CreateRequest) GetId ¶
func (x *CreateRequest) GetId() string
func (*CreateRequest) GetMark ¶
func (x *CreateRequest) GetMark() string
func (*CreateRequest) GetPioneer ¶
func (x *CreateRequest) GetPioneer() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type Element ¶
type Element struct { Color string `protobuf:"bytes,1,opt,name=Color,proto3" json:"Color,omitempty"` Comment string `protobuf:"bytes,2,opt,name=Comment,proto3" json:"Comment,omitempty"` CreatedOn int64 `protobuf:"varint,3,opt,name=CreatedOn,proto3" json:"CreatedOn,omitempty"` Creator string `protobuf:"bytes,4,opt,name=Creator,proto3" json:"Creator,omitempty"` Name string `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"` Parents []string `protobuf:"bytes,6,rep,name=Parents,proto3" json:"Parents,omitempty"` Pioneer string `protobuf:"bytes,7,opt,name=Pioneer,proto3" json:"Pioneer,omitempty"` Uses int64 `protobuf:"varint,8,opt,name=Uses,proto3" json:"Uses,omitempty"` FoundBy int64 `protobuf:"varint,9,opt,name=FoundBy,proto3" json:"FoundBy,omitempty"` Complexity int64 `protobuf:"varint,10,opt,name=Complexity,proto3" json:"Complexity,omitempty"` // contains filtered or unexported fields }
func (*Element) Descriptor
deprecated
func (*Element) GetComment ¶
func (*Element) GetComplexity ¶
func (*Element) GetCreatedOn ¶
func (*Element) GetCreator ¶
func (*Element) GetFoundBy ¶
func (*Element) GetParents ¶
func (*Element) GetPioneer ¶
func (*Element) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶
func (x *Element) ProtoReflect() protoreflect.Message
type ElementalClient ¶
type ElementalClient interface { // Elements GetElem(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*Element, error) GetCombination(ctx context.Context, in *Combination, opts ...grpc.CallOption) (*CombinationResult, error) GetAll(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (Elemental_GetAllClient, error) // Savefile GetInv(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*Inventory, error) AddFound(ctx context.Context, in *SuggestionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Suggestions GetSuggestion(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*Suggestion, error) GetSuggestionCombos(ctx context.Context, in *Combination, opts ...grpc.CallOption) (*SuggestionCombinationResponse, error) UpSuggestion(ctx context.Context, in *SuggestionRequest, opts ...grpc.CallOption) (*VoteResponse, error) DownSuggestion(ctx context.Context, in *SuggestionRequest, opts ...grpc.CallOption) (*VoteResponse, error) CreateSugg(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) NewSugg(ctx context.Context, in *NewSuggestionRequest, opts ...grpc.CallOption) (*VoteResponse, error) // Random Suggestions RandomLonely(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*RandomCombinationResponse, error) UpAndComing(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*RandomCombinationResponse, error) // Recents GetRec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Recents, error) WaitForNextRecent(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Elemental_WaitForNextRecentClient, error) }
ElementalClient is the client API for Elemental service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewElementalClient ¶
func NewElementalClient(cc grpc.ClientConnInterface) ElementalClient
type ElementalServer ¶
type ElementalServer interface { // Elements GetElem(context.Context, *wrapperspb.StringValue) (*Element, error) GetCombination(context.Context, *Combination) (*CombinationResult, error) GetAll(*wrapperspb.StringValue, Elemental_GetAllServer) error // Savefile GetInv(context.Context, *wrapperspb.StringValue) (*Inventory, error) AddFound(context.Context, *SuggestionRequest) (*emptypb.Empty, error) // Suggestions GetSuggestion(context.Context, *wrapperspb.StringValue) (*Suggestion, error) GetSuggestionCombos(context.Context, *Combination) (*SuggestionCombinationResponse, error) UpSuggestion(context.Context, *SuggestionRequest) (*VoteResponse, error) DownSuggestion(context.Context, *SuggestionRequest) (*VoteResponse, error) CreateSugg(context.Context, *CreateRequest) (*emptypb.Empty, error) NewSugg(context.Context, *NewSuggestionRequest) (*VoteResponse, error) // Random Suggestions RandomLonely(context.Context, *wrapperspb.StringValue) (*RandomCombinationResponse, error) UpAndComing(context.Context, *wrapperspb.StringValue) (*RandomCombinationResponse, error) // Recents GetRec(context.Context, *emptypb.Empty) (*Recents, error) WaitForNextRecent(*emptypb.Empty, Elemental_WaitForNextRecentServer) error // contains filtered or unexported methods }
ElementalServer is the server API for Elemental service. All implementations must embed UnimplementedElementalServer for forward compatibility
type Elemental_GetAllClient ¶
type Elemental_GetAllClient interface { Recv() (*GetAllChunk, error) grpc.ClientStream }
type Elemental_GetAllServer ¶
type Elemental_GetAllServer interface { Send(*GetAllChunk) error grpc.ServerStream }
type Elemental_WaitForNextRecentClient ¶
type Elemental_WaitForNextRecentClient interface { Recv() (*emptypb.Empty, error) grpc.ClientStream }
type Elemental_WaitForNextRecentServer ¶
type Elemental_WaitForNextRecentServer interface { Send(*emptypb.Empty) error grpc.ServerStream }
type GetAllChunk ¶
type GetAllChunk struct { Elements []*Element `protobuf:"bytes,1,rep,name=Elements,proto3" json:"Elements,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetAllChunk) Descriptor
deprecated
func (*GetAllChunk) Descriptor() ([]byte, []int)
Deprecated: Use GetAllChunk.ProtoReflect.Descriptor instead.
func (*GetAllChunk) GetCount ¶
func (x *GetAllChunk) GetCount() int64
func (*GetAllChunk) GetElements ¶
func (x *GetAllChunk) GetElements() []*Element
func (*GetAllChunk) ProtoMessage ¶
func (*GetAllChunk) ProtoMessage()
func (*GetAllChunk) ProtoReflect ¶
func (x *GetAllChunk) ProtoReflect() protoreflect.Message
func (*GetAllChunk) Reset ¶
func (x *GetAllChunk) Reset()
func (*GetAllChunk) String ¶
func (x *GetAllChunk) String() string
type Inventory ¶
type Inventory struct { Found []string `protobuf:"bytes,1,rep,name=Found,proto3" json:"Found,omitempty"` // contains filtered or unexported fields }
func (*Inventory) Descriptor
deprecated
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
type NewSuggestionRequest ¶
type NewSuggestionRequest struct { Elem1 string `protobuf:"bytes,1,opt,name=Elem1,proto3" json:"Elem1,omitempty"` Elem2 string `protobuf:"bytes,2,opt,name=Elem2,proto3" json:"Elem2,omitempty"` Suggestion *Suggestion `protobuf:"bytes,3,opt,name=Suggestion,proto3" json:"Suggestion,omitempty"` // contains filtered or unexported fields }
func (*NewSuggestionRequest) Descriptor
deprecated
func (*NewSuggestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewSuggestionRequest.ProtoReflect.Descriptor instead.
func (*NewSuggestionRequest) GetElem1 ¶
func (x *NewSuggestionRequest) GetElem1() string
func (*NewSuggestionRequest) GetElem2 ¶
func (x *NewSuggestionRequest) GetElem2() string
func (*NewSuggestionRequest) GetSuggestion ¶
func (x *NewSuggestionRequest) GetSuggestion() *Suggestion
func (*NewSuggestionRequest) ProtoMessage ¶
func (*NewSuggestionRequest) ProtoMessage()
func (*NewSuggestionRequest) ProtoReflect ¶
func (x *NewSuggestionRequest) ProtoReflect() protoreflect.Message
func (*NewSuggestionRequest) Reset ¶
func (x *NewSuggestionRequest) Reset()
func (*NewSuggestionRequest) String ¶
func (x *NewSuggestionRequest) String() string
type RandomCombinationResponse ¶
type RandomCombinationResponse struct { Elements []string `protobuf:"bytes,1,rep,name=Elements,proto3" json:"Elements,omitempty"` // contains filtered or unexported fields }
func (*RandomCombinationResponse) Descriptor
deprecated
func (*RandomCombinationResponse) Descriptor() ([]byte, []int)
Deprecated: Use RandomCombinationResponse.ProtoReflect.Descriptor instead.
func (*RandomCombinationResponse) GetElements ¶
func (x *RandomCombinationResponse) GetElements() []string
func (*RandomCombinationResponse) ProtoMessage ¶
func (*RandomCombinationResponse) ProtoMessage()
func (*RandomCombinationResponse) ProtoReflect ¶
func (x *RandomCombinationResponse) ProtoReflect() protoreflect.Message
func (*RandomCombinationResponse) Reset ¶
func (x *RandomCombinationResponse) Reset()
func (*RandomCombinationResponse) String ¶
func (x *RandomCombinationResponse) String() string
type RecentCombination ¶
type RecentCombination struct { Elem1 string `protobuf:"bytes,1,opt,name=Elem1,proto3" json:"Elem1,omitempty"` Elem2 string `protobuf:"bytes,2,opt,name=Elem2,proto3" json:"Elem2,omitempty"` Elem3 string `protobuf:"bytes,3,opt,name=Elem3,proto3" json:"Elem3,omitempty"` // contains filtered or unexported fields }
func (*RecentCombination) Descriptor
deprecated
func (*RecentCombination) Descriptor() ([]byte, []int)
Deprecated: Use RecentCombination.ProtoReflect.Descriptor instead.
func (*RecentCombination) GetElem1 ¶
func (x *RecentCombination) GetElem1() string
func (*RecentCombination) GetElem2 ¶
func (x *RecentCombination) GetElem2() string
func (*RecentCombination) GetElem3 ¶
func (x *RecentCombination) GetElem3() string
func (*RecentCombination) ProtoMessage ¶
func (*RecentCombination) ProtoMessage()
func (*RecentCombination) ProtoReflect ¶
func (x *RecentCombination) ProtoReflect() protoreflect.Message
func (*RecentCombination) Reset ¶
func (x *RecentCombination) Reset()
func (*RecentCombination) String ¶
func (x *RecentCombination) String() string
type Recents ¶
type Recents struct { Recents []*RecentCombination `protobuf:"bytes,1,rep,name=Recents,proto3" json:"Recents,omitempty"` // contains filtered or unexported fields }
func (*Recents) Descriptor
deprecated
func (*Recents) GetRecents ¶
func (x *Recents) GetRecents() []*RecentCombination
func (*Recents) ProtoMessage ¶
func (*Recents) ProtoMessage()
func (*Recents) ProtoReflect ¶
func (x *Recents) ProtoReflect() protoreflect.Message
type Suggestion ¶
type Suggestion struct { Creator string `protobuf:"bytes,1,opt,name=Creator,proto3" json:"Creator,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Votes int64 `protobuf:"varint,3,opt,name=Votes,proto3" json:"Votes,omitempty"` Color *Color `protobuf:"bytes,4,opt,name=Color,proto3" json:"Color,omitempty"` Voted []string `protobuf:"bytes,5,rep,name=Voted,proto3" json:"Voted,omitempty"` // contains filtered or unexported fields }
func (*Suggestion) Descriptor
deprecated
func (*Suggestion) Descriptor() ([]byte, []int)
Deprecated: Use Suggestion.ProtoReflect.Descriptor instead.
func (*Suggestion) GetColor ¶
func (x *Suggestion) GetColor() *Color
func (*Suggestion) GetCreator ¶
func (x *Suggestion) GetCreator() string
func (*Suggestion) GetName ¶
func (x *Suggestion) GetName() string
func (*Suggestion) GetVoted ¶
func (x *Suggestion) GetVoted() []string
func (*Suggestion) GetVotes ¶
func (x *Suggestion) GetVotes() int64
func (*Suggestion) ProtoMessage ¶
func (*Suggestion) ProtoMessage()
func (*Suggestion) ProtoReflect ¶
func (x *Suggestion) ProtoReflect() protoreflect.Message
func (*Suggestion) Reset ¶
func (x *Suggestion) Reset()
func (*Suggestion) String ¶
func (x *Suggestion) String() string
type SuggestionCombinationResponse ¶
type SuggestionCombinationResponse struct { Suggestions []string `protobuf:"bytes,1,rep,name=Suggestions,proto3" json:"Suggestions,omitempty"` // contains filtered or unexported fields }
func (*SuggestionCombinationResponse) Descriptor
deprecated
func (*SuggestionCombinationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestionCombinationResponse.ProtoReflect.Descriptor instead.
func (*SuggestionCombinationResponse) GetSuggestions ¶
func (x *SuggestionCombinationResponse) GetSuggestions() []string
func (*SuggestionCombinationResponse) ProtoMessage ¶
func (*SuggestionCombinationResponse) ProtoMessage()
func (*SuggestionCombinationResponse) ProtoReflect ¶
func (x *SuggestionCombinationResponse) ProtoReflect() protoreflect.Message
func (*SuggestionCombinationResponse) Reset ¶
func (x *SuggestionCombinationResponse) Reset()
func (*SuggestionCombinationResponse) String ¶
func (x *SuggestionCombinationResponse) String() string
type SuggestionRequest ¶
type SuggestionRequest struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Element string `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"` // contains filtered or unexported fields }
func (*SuggestionRequest) Descriptor
deprecated
func (*SuggestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestionRequest.ProtoReflect.Descriptor instead.
func (*SuggestionRequest) GetElement ¶
func (x *SuggestionRequest) GetElement() string
func (*SuggestionRequest) GetUid ¶
func (x *SuggestionRequest) GetUid() string
func (*SuggestionRequest) ProtoMessage ¶
func (*SuggestionRequest) ProtoMessage()
func (*SuggestionRequest) ProtoReflect ¶
func (x *SuggestionRequest) ProtoReflect() protoreflect.Message
func (*SuggestionRequest) Reset ¶
func (x *SuggestionRequest) Reset()
func (*SuggestionRequest) String ¶
func (x *SuggestionRequest) String() string
type UnimplementedAnarchyServer ¶
type UnimplementedAnarchyServer struct { }
UnimplementedAnarchyServer must be embedded to have forward compatible implementations.
func (UnimplementedAnarchyServer) AddFound ¶
func (UnimplementedAnarchyServer) AddFound(context.Context, *AnarchyUserRequest) (*emptypb.Empty, error)
func (UnimplementedAnarchyServer) CreateElement ¶
func (UnimplementedAnarchyServer) CreateElement(context.Context, *AnarchyElementCreate) (*emptypb.Empty, error)
func (UnimplementedAnarchyServer) GetAll ¶
func (UnimplementedAnarchyServer) GetAll(*wrapperspb.StringValue, Anarchy_GetAllServer) error
func (UnimplementedAnarchyServer) GetCombination ¶
func (UnimplementedAnarchyServer) GetCombination(context.Context, *AnarchyCombination) (*AnarchyCombinationResult, error)
func (UnimplementedAnarchyServer) GetElem ¶
func (UnimplementedAnarchyServer) GetElem(context.Context, *wrapperspb.StringValue) (*AnarchyElement, error)
func (UnimplementedAnarchyServer) GetInv ¶
func (UnimplementedAnarchyServer) GetInv(context.Context, *wrapperspb.StringValue) (*AnarchyInventory, error)
func (UnimplementedAnarchyServer) GetRecents ¶
func (UnimplementedAnarchyServer) GetRecents(context.Context, *emptypb.Empty) (*AnarchyRecents, error)
func (UnimplementedAnarchyServer) WaitForNextRecent ¶
func (UnimplementedAnarchyServer) WaitForNextRecent(*emptypb.Empty, Anarchy_WaitForNextRecentServer) error
type UnimplementedElementalServer ¶
type UnimplementedElementalServer struct { }
UnimplementedElementalServer must be embedded to have forward compatible implementations.
func (UnimplementedElementalServer) AddFound ¶
func (UnimplementedElementalServer) AddFound(context.Context, *SuggestionRequest) (*emptypb.Empty, error)
func (UnimplementedElementalServer) CreateSugg ¶
func (UnimplementedElementalServer) CreateSugg(context.Context, *CreateRequest) (*emptypb.Empty, error)
func (UnimplementedElementalServer) DownSuggestion ¶
func (UnimplementedElementalServer) DownSuggestion(context.Context, *SuggestionRequest) (*VoteResponse, error)
func (UnimplementedElementalServer) GetAll ¶
func (UnimplementedElementalServer) GetAll(*wrapperspb.StringValue, Elemental_GetAllServer) error
func (UnimplementedElementalServer) GetCombination ¶
func (UnimplementedElementalServer) GetCombination(context.Context, *Combination) (*CombinationResult, error)
func (UnimplementedElementalServer) GetElem ¶
func (UnimplementedElementalServer) GetElem(context.Context, *wrapperspb.StringValue) (*Element, error)
func (UnimplementedElementalServer) GetInv ¶
func (UnimplementedElementalServer) GetInv(context.Context, *wrapperspb.StringValue) (*Inventory, error)
func (UnimplementedElementalServer) GetSuggestion ¶
func (UnimplementedElementalServer) GetSuggestion(context.Context, *wrapperspb.StringValue) (*Suggestion, error)
func (UnimplementedElementalServer) GetSuggestionCombos ¶
func (UnimplementedElementalServer) GetSuggestionCombos(context.Context, *Combination) (*SuggestionCombinationResponse, error)
func (UnimplementedElementalServer) NewSugg ¶
func (UnimplementedElementalServer) NewSugg(context.Context, *NewSuggestionRequest) (*VoteResponse, error)
func (UnimplementedElementalServer) RandomLonely ¶
func (UnimplementedElementalServer) RandomLonely(context.Context, *wrapperspb.StringValue) (*RandomCombinationResponse, error)
func (UnimplementedElementalServer) UpAndComing ¶
func (UnimplementedElementalServer) UpAndComing(context.Context, *wrapperspb.StringValue) (*RandomCombinationResponse, error)
func (UnimplementedElementalServer) UpSuggestion ¶
func (UnimplementedElementalServer) UpSuggestion(context.Context, *SuggestionRequest) (*VoteResponse, error)
func (UnimplementedElementalServer) WaitForNextRecent ¶
func (UnimplementedElementalServer) WaitForNextRecent(*emptypb.Empty, Elemental_WaitForNextRecentServer) error
type UnsafeAnarchyServer ¶
type UnsafeAnarchyServer interface {
// contains filtered or unexported methods
}
UnsafeAnarchyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnarchyServer will result in compilation errors.
type UnsafeElementalServer ¶
type UnsafeElementalServer interface {
// contains filtered or unexported methods
}
UnsafeElementalServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ElementalServer will result in compilation errors.
type VoteResponse ¶
type VoteResponse struct { Create bool `protobuf:"varint,1,opt,name=Create,proto3" json:"Create,omitempty"` // contains filtered or unexported fields }
func (*VoteResponse) Descriptor
deprecated
func (*VoteResponse) Descriptor() ([]byte, []int)
Deprecated: Use VoteResponse.ProtoReflect.Descriptor instead.
func (*VoteResponse) GetCreate ¶
func (x *VoteResponse) GetCreate() bool
func (*VoteResponse) ProtoMessage ¶
func (*VoteResponse) ProtoMessage()
func (*VoteResponse) ProtoReflect ¶
func (x *VoteResponse) ProtoReflect() protoreflect.Message
func (*VoteResponse) Reset ¶
func (x *VoteResponse) Reset()
func (*VoteResponse) String ¶
func (x *VoteResponse) String() string