Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPoolsHandler ¶
func NewPoolsHandler(e *echo.Echo, us mvc.PoolsUsecase)
NewPoolsHandler will initialize the pools/ resources endpoint
Types ¶
type PoolsHandler ¶
type PoolsHandler struct {
PUsecase mvc.PoolsUsecase
}
PoolsHandler represent the httphandler for pools
func (*PoolsHandler) GetAllPools ¶
func (a *PoolsHandler) GetAllPools(c echo.Context) error
GetAllPools will fetch all supported pool types by the Osmosis chain
type ResponseError ¶
type ResponseError struct {
Message string `json:"message"`
}
ResponseError represent the response error struct
Click to show internal directories.
Click to hide internal directories.