Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeParseAnime messageType = "parse-anime" TypeParseUserAnime messageType = "parse-user-anime" )
Available message type.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Type messageType `json:"type"` Data []byte `json:"data"` }
Message is entity for message.
type ParseAnimeRequest ¶
ParseAnimeRequest is parse anime request model.
type ParseUserAnimeRequest ¶ added in v0.2.0
type ParseUserAnimeRequest struct { Username string `json:"username"` Status string `json:"status"` Forced bool `json:"forced"` }
ParseUserAnimeRequest is parse user anime request model.
Click to show internal directories.
Click to hide internal directories.