Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(srv *address.Service, logger *zap.Logger) *Controller
func (*Controller) FindById ¶
func (c *Controller) FindById(ctx *fiber.Ctx) error
FindById godoc @Description Lookup an address @Tags deltaswapscan @ID find-address-by-id @Param address path string true "address" @Param page query integer false "Page number. Starts at 0." @Param pageSize query integer false "Number of elements per page." @Success 200 {object} response.Response[address.AddressOverview] @Failure 400 @Failure 404 @Failure 500 @Router /api/v1/address/{address} [get]
Click to show internal directories.
Click to hide internal directories.