Documentation ¶
Index ¶
- Constants
- func ResultFail(ctx *gin.Context, err interface{})
- func ResultFailData(ctx *gin.Context, data interface{}, err interface{})
- func ResultMap(ctx *gin.Context, m map[string]interface{})
- func ResultMsg(ctx *gin.Context, msg string)
- func ResultOk(ctx *gin.Context, data interface{})
- func ResultOkMsg(ctx *gin.Context, data interface{}, msg string)
- type ChainDomain
Constants ¶
View Source
const ( Success = iota Fail )
Variables ¶
This section is empty.
Functions ¶
func ResultFail ¶
func ResultFailData ¶
func ResultOkMsg ¶
Types ¶
type ChainDomain ¶
type ChainDomain struct { NodeIps []string `json:"nodeIps"` NodePorts map[string]string `json:"nodePorts"` }
func NewChainDomain ¶
func NewChainDomain(ips []string, ports map[string]string) ChainDomain
Click to show internal directories.
Click to hide internal directories.