Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChanCreate ¶
type ChanCreate struct { ChanName string `json:"chan_name" binding:"required"` Balance int64 `json:"balance" binding:"required"` }
ChanCreate create chan struct
type ChanExit ¶
type ChanExit struct {
ChanName string `json:"chan_name" binding:"required"`
}
ChanExit exit chan struct
type ChanExitResp ¶
type ChanExitResp struct { Code int `json:"code"` Balance int64 `json:"balance"` Msg string `json:"msg"` }
ChanExitResp exit chan response struct
type ChanJoin ¶
type ChanJoin struct { ChanName string `json:"chan_name" binding:"required"` Balance int64 `json:"balance" binding:"required"` }
ChanJoin join chan struct
Click to show internal directories.
Click to hide internal directories.