You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package agent
-
- import (
- "gitlink.org.cn/cloudream/common/pkgs/mq"
- )
-
- type GetState struct {
- }
-
- func NewGetState() GetState {
- return GetState{}
- }
-
- type GetStateResp struct {
- IPFSState string `json:"ipfsState"`
- }
-
- func NewGetStateRespBody(ipfsState string) GetStateResp {
- return GetStateResp{
- IPFSState: ipfsState,
- }
- }
-
- func init() {
- mq.RegisterMessage[GetState]()
- mq.RegisterMessage[GetStateResp]()
- }
|