cli

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArtAdd

func ArtAdd(host string, refresh bool, key []byte, content string, title string, cid uint, imgInfos []common.ImgInfo)

func ArtAll

func ArtAll(host string, refresh bool, key []byte)

func ArtDownload

func ArtDownload(host string, refresh bool, key []byte, id uint) (string, string)

func ArtModify

func ArtModify(host string, refresh bool, key []byte, id uint, catId uint, title string, content string, imgInfos []common.ImgInfo)

func ArtRm

func ArtRm(host string, refresh bool, key []byte, id uint)

func CatAdd

func CatAdd(host string, refresh bool, key []byte, name string, alias string)

func CatAll

func CatAll(host string, refresh bool, key []byte)

func CatModify

func CatModify(host string, refresh bool, key []byte, id uint, name string, alias string)

func CatRm

func CatRm(host string, refresh bool, key []byte, id uint, mid uint)

func Check

func Check(host string, serverDesKey []byte) bool

func CleanCache

func CleanCache(host string, refresh bool, key []byte)

func Login

func Login(host string, pubKey []byte, username string, password string) []byte

func OptAll

func OptAll(host string, refresh bool, key []byte)

func PageAdd

func PageAdd(host string, refresh bool, key []byte, content string, title string, imgInfos []common.ImgInfo)

func PageAll

func PageAll(host string, refresh bool, key []byte)

func PageDownload

func PageDownload(host string, refresh bool, key []byte, id uint) (string, string)

func PageModify

func PageModify(host string, refresh bool, key []byte, id uint, title string, content string, imgInfos []common.ImgInfo)

func PageRm

func PageRm(host string, refresh bool, key []byte, id uint)

func Ping

func Ping(host string) []byte

func TweetAdd

func TweetAdd(host string, refresh bool, key []byte, message string)

func TweetAll

func TweetAll(host string, refresh bool, key []byte, curPage uint)

func TweetRm

func TweetRm(host string, refresh bool, key []byte, id uint)

Types

This section is empty.

Jump to

Keyboard shortcuts

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