client

package
v0.19.6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ack added in v0.18.1

func Ack(no string) error

func Collect added in v0.18.1

func Collect(content types.CollectData) error

func Offline added in v0.18.1

func Offline(hostid string) error

func Online added in v0.18.1

func Online(hostid, hostname string) error

Types

type Instruct

type Instruct struct {
	No       string `json:"no"`
	Bot      string `json:"bot"`
	Flag     string `json:"flag"`
	Content  any    `json:"content"`
	ExpireAt string `json:"expire_at"`
}

type InstructResult

type InstructResult struct {
	Instruct []Instruct `json:"instruct"`
}

func Pull added in v0.18.1

func Pull() (*InstructResult, error)

Jump to

Keyboard shortcuts

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