protocols

package
v0.0.0-...-ad9d088 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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]

Jump to

Keyboard shortcuts

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