Versions in this module Expand all Collapse all v1 v1.0.0 Jun 3, 2021 Changes in this version + func Error(c *gin.Context, code int, err error, msg string) + func OK(c *gin.Context, data interface{}, msg string) + func PageOK(c *gin.Context, result interface{}, count int, page int, limit int, msg string) + type GenesisAccount struct + Balance *math.HexOrDecimal256 + type GenesisAlloc map[string]string + type Page struct + Details interface{} + Limit int + Page int + Total int + type PageResponse struct + Code int + Data Page + Msg string + func (res *PageResponse) ReturnOK() *PageResponse + type Response struct + Code int + Data interface{} + Msg string + func (res *Response) ReturnError(code int) *Response + func (res *Response) ReturnOK() *Response