Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrLenIDZero error occurs when length of id path parameter is zero. ErrLenIDZero = fmt.Errorf("length of id path parameter is zero") // ErrInvalidQuestionKind error occurs when question kind is invalid. ErrInvalidQuestionKind = fmt.Errorf("question kind is invalid") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client allows the caller to interact with the nettaton server.
func (*Client) AnswerQuestion ¶
AnswerQuestion submits an answer attempt to the server. The question attempted to be answered is identfied by uuid. The response will indicate if the submitted answer was correct.
func (*Client) CreateQuestion ¶
CreateQuestion creates a question and stores it's uuid server side.
type Nexus ¶
type Nexus struct {
// contains filtered or unexported fields
}
Nexus ...
func (*Nexus) AnswerQuestion ¶
AnswerQuestion ...
func (*Nexus) CreateQuestion ¶
CreateQuestion ...
Click to show internal directories.
Click to hide internal directories.