Documentation ¶
Index ¶
Constants ¶
View Source
const ( EDUServerInputTypingEventPath = "/eduserver/input" EDUServerInputSendToDeviceEventPath = "/eduserver/sendToDevice" EDUServerInputReceiptEventPath = "/eduserver/receipt" )
HTTP paths for the internal HTTP APIs
Variables ¶
This section is empty.
Functions ¶
func AddRoutes ¶
func AddRoutes(t api.EDUServerInputAPI, internalAPIMux *mux.Router)
AddRoutes adds the EDUServerInputAPI handlers to the http.ServeMux.
func NewEDUServerClient ¶
func NewEDUServerClient(eduServerURL string, httpClient *http.Client) (api.EDUServerInputAPI, error)
NewEDUServerClient creates a EDUServerInputAPI implemented by talking to a HTTP POST API.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.