request

package
v2.0.1-beta31 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	Title              string `json:"title"`
	ThumbMediaID       string `json:"thumb_media_id"`
	Author             string `json:"author"`
	Digest             string `json:"digest"`
	ShowCoverPic       string `json:"show_cover_pic"`
	Content            string `json:"content"`
	ContentSourceUrl   string `json:"content_source_url"`
	NeedOpenComment    string `json:"need_open_comment"`
	OnlyFansCanComment string `json:"only_fans_can_comment"`
}

type RequestAddArticles

type RequestAddArticles struct {
	Articles []*Article `json:"articles"`
}

type RequestMaterialAddMaterial

type RequestMaterialAddMaterial struct {
	Type         string         `json:"type"`
	Media        *power.HashMap `json:"media"`
	Title        string         `json:"title"`
	Introduction string         `json:"introduction"`
}

type RequestMaterialAddNews

type RequestMaterialAddNews struct {
	Articles []*power.HashMap `json:"articles"`
}

type RequestMaterialBatchGetMaterial

type RequestMaterialBatchGetMaterial struct {
	Type   string `json:"type"`
	Offset int64  `json:"offset"`
	Count  int64  `json:"count"`
}

type RequestMaterialUpdateNews

type RequestMaterialUpdateNews struct {
	MediaID  int64            `json:"media_id"`
	Index    int64            `json:"index"`
	Articles []*power.HashMap `json:"articles"`
}

Jump to

Keyboard shortcuts

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