Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageTypeQuestion MessageType = "QUESTION" MessageTypeAnswer = "ANSWER" LeesahTimeformat = "2006-01-02T15:04:05.999999" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Answer string `json:"answer"` Category string `json:"category"` Created string `json:"created"` MessageID string `json:"messageId"` Question string `json:"question,omitempty"` QuestionID string `json:"questionId"` TeamName string `json:"teamName"` Type MessageType `json:"type"` }
func (Message) ToQuestion ¶
type MessageType ¶
type MessageType string
type MinimalMessage ¶
type MinimalMessage struct {
Type MessageType `json:"type"`
}
type Rapid ¶
type Rapid struct {
// contains filtered or unexported fields
}
func NewLocalRapid ¶
NewLocalRapid creates a new Rapid instance with a local configuration. The local configuration is read from "certs/student-creds.yaml".
Click to show internal directories.
Click to hide internal directories.