Documentation ¶
Index ¶
- Variables
- type AddCommentRequest
- func (*AddCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCommentRequest) GetComment() string
- func (x *AddCommentRequest) GetEventNumber() uint32
- func (x *AddCommentRequest) GetGameId() string
- func (*AddCommentRequest) ProtoMessage()
- func (x *AddCommentRequest) ProtoReflect() protoreflect.Message
- func (x *AddCommentRequest) Reset()
- func (x *AddCommentRequest) String() string
- type AddCommentResponse
- func (*AddCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddCommentResponse) GetCommentId() string
- func (*AddCommentResponse) ProtoMessage()
- func (x *AddCommentResponse) ProtoReflect() protoreflect.Message
- func (x *AddCommentResponse) Reset()
- func (x *AddCommentResponse) String() string
- type DeleteCommentRequest
- func (*DeleteCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCommentRequest) GetCommentId() string
- func (*DeleteCommentRequest) ProtoMessage()
- func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCommentRequest) Reset()
- func (x *DeleteCommentRequest) String() string
- type DeleteCommentResponse
- type EditCommentRequest
- func (*EditCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditCommentRequest) GetComment() string
- func (x *EditCommentRequest) GetCommentId() string
- func (*EditCommentRequest) ProtoMessage()
- func (x *EditCommentRequest) ProtoReflect() protoreflect.Message
- func (x *EditCommentRequest) Reset()
- func (x *EditCommentRequest) String() string
- type EditCommentResponse
- type GameComment
- func (*GameComment) Descriptor() ([]byte, []int)deprecated
- func (x *GameComment) GetComment() string
- func (x *GameComment) GetCommentId() string
- func (x *GameComment) GetEventNumber() uint32
- func (x *GameComment) GetGameId() string
- func (x *GameComment) GetGameMeta() map[string]string
- func (x *GameComment) GetLastEdited() *timestamppb.Timestamp
- func (x *GameComment) GetUserId() string
- func (x *GameComment) GetUsername() string
- func (*GameComment) ProtoMessage()
- func (x *GameComment) ProtoReflect() protoreflect.Message
- func (x *GameComment) Reset()
- func (x *GameComment) String() string
- type GetCommentsAllGamesRequest
- func (*GetCommentsAllGamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsAllGamesRequest) GetLimit() uint32
- func (x *GetCommentsAllGamesRequest) GetOffset() uint32
- func (*GetCommentsAllGamesRequest) ProtoMessage()
- func (x *GetCommentsAllGamesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommentsAllGamesRequest) Reset()
- func (x *GetCommentsAllGamesRequest) String() string
- type GetCommentsRequest
- func (*GetCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsRequest) GetGameId() string
- func (*GetCommentsRequest) ProtoMessage()
- func (x *GetCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommentsRequest) Reset()
- func (x *GetCommentsRequest) String() string
- type GetCommentsResponse
- func (*GetCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsResponse) GetComments() []*GameComment
- func (*GetCommentsResponse) ProtoMessage()
- func (x *GetCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommentsResponse) Reset()
- func (x *GetCommentsResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_comments_service_comments_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddCommentRequest ¶
type AddCommentRequest struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` EventNumber uint32 `protobuf:"varint,2,opt,name=event_number,json=eventNumber,proto3" json:"event_number,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*AddCommentRequest) Descriptor
deprecated
func (*AddCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCommentRequest.ProtoReflect.Descriptor instead.
func (*AddCommentRequest) GetComment ¶
func (x *AddCommentRequest) GetComment() string
func (*AddCommentRequest) GetEventNumber ¶
func (x *AddCommentRequest) GetEventNumber() uint32
func (*AddCommentRequest) GetGameId ¶
func (x *AddCommentRequest) GetGameId() string
func (*AddCommentRequest) ProtoMessage ¶
func (*AddCommentRequest) ProtoMessage()
func (*AddCommentRequest) ProtoReflect ¶
func (x *AddCommentRequest) ProtoReflect() protoreflect.Message
func (*AddCommentRequest) Reset ¶
func (x *AddCommentRequest) Reset()
func (*AddCommentRequest) String ¶
func (x *AddCommentRequest) String() string
type AddCommentResponse ¶
type AddCommentResponse struct { CommentId string `protobuf:"bytes,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // contains filtered or unexported fields }
func (*AddCommentResponse) Descriptor
deprecated
func (*AddCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddCommentResponse.ProtoReflect.Descriptor instead.
func (*AddCommentResponse) GetCommentId ¶
func (x *AddCommentResponse) GetCommentId() string
func (*AddCommentResponse) ProtoMessage ¶
func (*AddCommentResponse) ProtoMessage()
func (*AddCommentResponse) ProtoReflect ¶
func (x *AddCommentResponse) ProtoReflect() protoreflect.Message
func (*AddCommentResponse) Reset ¶
func (x *AddCommentResponse) Reset()
func (*AddCommentResponse) String ¶
func (x *AddCommentResponse) String() string
type DeleteCommentRequest ¶
type DeleteCommentRequest struct { CommentId string `protobuf:"bytes,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCommentRequest) Descriptor
deprecated
func (*DeleteCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentRequest.ProtoReflect.Descriptor instead.
func (*DeleteCommentRequest) GetCommentId ¶
func (x *DeleteCommentRequest) GetCommentId() string
func (*DeleteCommentRequest) ProtoMessage ¶
func (*DeleteCommentRequest) ProtoMessage()
func (*DeleteCommentRequest) ProtoReflect ¶
func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message
func (*DeleteCommentRequest) Reset ¶
func (x *DeleteCommentRequest) Reset()
func (*DeleteCommentRequest) String ¶
func (x *DeleteCommentRequest) String() string
type DeleteCommentResponse ¶
type DeleteCommentResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCommentResponse) Descriptor
deprecated
func (*DeleteCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentResponse.ProtoReflect.Descriptor instead.
func (*DeleteCommentResponse) ProtoMessage ¶
func (*DeleteCommentResponse) ProtoMessage()
func (*DeleteCommentResponse) ProtoReflect ¶
func (x *DeleteCommentResponse) ProtoReflect() protoreflect.Message
func (*DeleteCommentResponse) Reset ¶
func (x *DeleteCommentResponse) Reset()
func (*DeleteCommentResponse) String ¶
func (x *DeleteCommentResponse) String() string
type EditCommentRequest ¶
type EditCommentRequest struct { CommentId string `protobuf:"bytes,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*EditCommentRequest) Descriptor
deprecated
func (*EditCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditCommentRequest.ProtoReflect.Descriptor instead.
func (*EditCommentRequest) GetComment ¶
func (x *EditCommentRequest) GetComment() string
func (*EditCommentRequest) GetCommentId ¶
func (x *EditCommentRequest) GetCommentId() string
func (*EditCommentRequest) ProtoMessage ¶
func (*EditCommentRequest) ProtoMessage()
func (*EditCommentRequest) ProtoReflect ¶
func (x *EditCommentRequest) ProtoReflect() protoreflect.Message
func (*EditCommentRequest) Reset ¶
func (x *EditCommentRequest) Reset()
func (*EditCommentRequest) String ¶
func (x *EditCommentRequest) String() string
type EditCommentResponse ¶
type EditCommentResponse struct {
// contains filtered or unexported fields
}
func (*EditCommentResponse) Descriptor
deprecated
func (*EditCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditCommentResponse.ProtoReflect.Descriptor instead.
func (*EditCommentResponse) ProtoMessage ¶
func (*EditCommentResponse) ProtoMessage()
func (*EditCommentResponse) ProtoReflect ¶
func (x *EditCommentResponse) ProtoReflect() protoreflect.Message
func (*EditCommentResponse) Reset ¶
func (x *EditCommentResponse) Reset()
func (*EditCommentResponse) String ¶
func (x *EditCommentResponse) String() string
type GameComment ¶
type GameComment struct { CommentId string `protobuf:"bytes,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` EventNumber uint32 `protobuf:"varint,5,opt,name=event_number,json=eventNumber,proto3" json:"event_number,omitempty"` Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` LastEdited *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_edited,json=lastEdited,proto3" json:"last_edited,omitempty"` // game_meta is for optional display of game metadata. GameMeta map[string]string `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GameComment) Descriptor
deprecated
func (*GameComment) Descriptor() ([]byte, []int)
Deprecated: Use GameComment.ProtoReflect.Descriptor instead.
func (*GameComment) GetComment ¶
func (x *GameComment) GetComment() string
func (*GameComment) GetCommentId ¶
func (x *GameComment) GetCommentId() string
func (*GameComment) GetEventNumber ¶
func (x *GameComment) GetEventNumber() uint32
func (*GameComment) GetGameId ¶
func (x *GameComment) GetGameId() string
func (*GameComment) GetGameMeta ¶
func (x *GameComment) GetGameMeta() map[string]string
func (*GameComment) GetLastEdited ¶
func (x *GameComment) GetLastEdited() *timestamppb.Timestamp
func (*GameComment) GetUserId ¶
func (x *GameComment) GetUserId() string
func (*GameComment) GetUsername ¶
func (x *GameComment) GetUsername() string
func (*GameComment) ProtoMessage ¶
func (*GameComment) ProtoMessage()
func (*GameComment) ProtoReflect ¶
func (x *GameComment) ProtoReflect() protoreflect.Message
func (*GameComment) Reset ¶
func (x *GameComment) Reset()
func (*GameComment) String ¶
func (x *GameComment) String() string
type GetCommentsAllGamesRequest ¶
type GetCommentsAllGamesRequest struct { Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetCommentsAllGamesRequest) Descriptor
deprecated
func (*GetCommentsAllGamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsAllGamesRequest.ProtoReflect.Descriptor instead.
func (*GetCommentsAllGamesRequest) GetLimit ¶
func (x *GetCommentsAllGamesRequest) GetLimit() uint32
func (*GetCommentsAllGamesRequest) GetOffset ¶
func (x *GetCommentsAllGamesRequest) GetOffset() uint32
func (*GetCommentsAllGamesRequest) ProtoMessage ¶
func (*GetCommentsAllGamesRequest) ProtoMessage()
func (*GetCommentsAllGamesRequest) ProtoReflect ¶
func (x *GetCommentsAllGamesRequest) ProtoReflect() protoreflect.Message
func (*GetCommentsAllGamesRequest) Reset ¶
func (x *GetCommentsAllGamesRequest) Reset()
func (*GetCommentsAllGamesRequest) String ¶
func (x *GetCommentsAllGamesRequest) String() string
type GetCommentsRequest ¶
type GetCommentsRequest struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // contains filtered or unexported fields }
func (*GetCommentsRequest) Descriptor
deprecated
func (*GetCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsRequest.ProtoReflect.Descriptor instead.
func (*GetCommentsRequest) GetGameId ¶
func (x *GetCommentsRequest) GetGameId() string
func (*GetCommentsRequest) ProtoMessage ¶
func (*GetCommentsRequest) ProtoMessage()
func (*GetCommentsRequest) ProtoReflect ¶
func (x *GetCommentsRequest) ProtoReflect() protoreflect.Message
func (*GetCommentsRequest) Reset ¶
func (x *GetCommentsRequest) Reset()
func (*GetCommentsRequest) String ¶
func (x *GetCommentsRequest) String() string
type GetCommentsResponse ¶
type GetCommentsResponse struct { Comments []*GameComment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*GetCommentsResponse) Descriptor
deprecated
func (*GetCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsResponse.ProtoReflect.Descriptor instead.
func (*GetCommentsResponse) GetComments ¶
func (x *GetCommentsResponse) GetComments() []*GameComment
func (*GetCommentsResponse) ProtoMessage ¶
func (*GetCommentsResponse) ProtoMessage()
func (*GetCommentsResponse) ProtoReflect ¶
func (x *GetCommentsResponse) ProtoReflect() protoreflect.Message
func (*GetCommentsResponse) Reset ¶
func (x *GetCommentsResponse) Reset()
func (*GetCommentsResponse) String ¶
func (x *GetCommentsResponse) String() string