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(logger *zap.Logger, service service) *Controller
func (*Controller) GetProtocolsTotalValues ¶
func (c *Controller) GetProtocolsTotalValues(ctx *fiber.Ctx) error
GetProtocolsTotalValues godoc @Description Returns the representative stats for the top protocols @Tags wormholescan @ID get-top-protocols-stats @Success 200 {object} []protocols.ProtocolTotalValuesDTO @Failure 500 {object} []protocols.ProtocolTotalValuesDTO @Router /api/v1/protocols/stats [get]
Click to show internal directories.
Click to hide internal directories.