entity

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 0 Imported by: 0

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

type ParseAnimeRequest struct {
	ID     int64 `json:"id"`
	Forced bool  `json:"forced"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL