keyword_info

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResponseItemInfo

type APIResponseItemInfo struct {
	Code    int           `json:"code"`
	Message string        `json:"message"`
	Data    *KeyworldInfo `json:"data"`
}

type APIResponseItemInfoList

type APIResponseItemInfoList struct {
	Code    int                          `json:"code"`
	Message string                       `json:"message"`
	Data    *APIResponseItemInfoListData `json:"data"`
}

type APIResponseItemInfoListData

type APIResponseItemInfoListData struct {
	Items []KeyworldInfo `json:"items"`
	Total int64          `json:"total"`
}

type KeyworldInfo

type KeyworldInfo struct {
	model.Model

	InfoHash      string `json:"info_hash" form:"info_hash" gorm:"column:info_hash;not null;"`
	OwnerInfoHash string `json:"owner_info_hash" form:"owner_info_hash" gorm:"column:owner_info_hash;not null;"`
	OwnerPlatform string `json:"owner_platform" form:"owner_platform" gorm:"column:owner_platform;not null;"`
	OwnerChatId   int64  `json:"owner_chat_id" form:"owner_chat_id" gorm:"column:owner_chat_id;not null;"`
	SearchChatId  int64  `json:"search_chat_id" form:"search_chat_id" gorm:"column:search_chat_id;"`
	KeyWorld      string `json:"key_world" form:"key_world" gorm:"column:key_world;"`

	// 核验请求id
	ById string `json:"by_id" form:"by_id" gorm:"-"`

	Page   int    `json:"-" form:"page" gorm:"-"`
	Size   int    `json:"-" form:"size" gorm:"-"`
	Filter string `json:"-" form:"filter" gorm:"-"`
}

Jump to

Keyboard shortcuts

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