Documentation ¶
Index ¶
- Constants
- func Fail(c *gin.Context)
- func FailWithDetailed(data interface{}, message string, c *gin.Context)
- func FailWithMessage(message string, c *gin.Context)
- func GetOutboundIP() (net.IP, error)
- func Ok(c *gin.Context)
- func OkWithData(data interface{}, c *gin.Context)
- func OkWithDetailed(data interface{}, message string, c *gin.Context)
- func OkWithMessage(message string, c *gin.Context)
- func PingUntil(ctx context.Context, interval time.Duration, baseURL string, callback func())
- func Result(code int, data interface{}, msg string, c *gin.Context)
- type Bots
- type Coin
- type Request
- type Response
- type Server
- type Setup
Constants ¶
View Source
const ( ERROR = 7 SUCCESS = 0 )
View Source
const DefaultBindAddress = "localhost:8888"
Variables ¶
This section is empty.
Functions ¶
func FailWithDetailed ¶
func FailWithMessage ¶
func GetOutboundIP ¶
func OkWithData ¶
func OkWithDetailed ¶
func OkWithMessage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.