entity

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeParseManga     messageType = "parse-manga"
	TypeParseUserManga messageType = "parse-user-manga"
)

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 ParseMangaRequest

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

ParseMangaRequest is parse manga request model.

type ParseUserMangaRequest

type ParseUserMangaRequest struct {
	Username string `json:"username"`
	Forced   bool   `json:"forced"`
}

ParseUserMangaRequest is parse user manga request model.

Jump to

Keyboard shortcuts

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