Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QuestionServer ¶
type QuestionServer struct {
// contains filtered or unexported fields
}
QuestionServer implements the QuestionServer interface
func (*QuestionServer) CreateQuestion ¶
func (s *QuestionServer) CreateQuestion(ctx context.Context, in *qpb.CreateQuestionRequest) (*qpb.CreateQuestionResponse, error)
CreateQuestion creates a new question
func (*QuestionServer) GetQuestion ¶
func (s *QuestionServer) GetQuestion(ctx context.Context, in *qpb.GetQuestionRequest) (*qpb.GetQuestionResponse, error)
GetQuestion fetches a new question for the given answer
type UserServer ¶
type UserServer struct {
// contains filtered or unexported fields
}
UserServer implements the UserServer interface
func (*UserServer) ApproveEntries ¶
func (s *UserServer) ApproveEntries(ctx context.Context, in *upb.ApproveEntriesRequest) (*upb.ApproveEntriesResponse, error)
ApproveEntries ...
func (*UserServer) GetEntries ¶
func (s *UserServer) GetEntries(ctx context.Context, in *upb.GetEntriesRequest) (*upb.GetEntriesResponse, error)
GetEntries ...
Click to show internal directories.
Click to hide internal directories.