http

package
v21.0.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL