Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HeaderDefault = map[string]string{ "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36", "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,zh-Hans;q=0.7", } ErrUnauth = errors.New("unauth") MerlinName = "merlin" )
Functions ¶
func NewInstControl ¶
Types ¶
type Attachment ¶
type EventResp ¶
type EventResp struct { Status string `json:"status"` Data *eventData `json:"data"` }
type TokenResp ¶
type TokenResp struct { Status string `json:"status"` Data *tokenData `json:"data"` }
Click to show internal directories.
Click to hide internal directories.