controller

package
v0.0.0-...-fd7996a Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkHandler

func NewNetworkHandler(r *gin.Engine, n entity.NetworkUseCase)

func NewWalletHandler

func NewWalletHandler(r *gin.Engine, w entity.WalletUseCase)

Types

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
}

type NetworkHandler

type NetworkHandler struct {
	NetworkService entity.NetworkUseCase
}

func (*NetworkHandler) GetAll

func (h *NetworkHandler) GetAll(c *gin.Context)

type WalletHandler

type WalletHandler struct {
	WalletService entity.WalletUseCase
}

func (*WalletHandler) AddOne

func (w *WalletHandler) AddOne(c *gin.Context)

func (*WalletHandler) DeleteOne

func (w *WalletHandler) DeleteOne(c *gin.Context)

func (*WalletHandler) GetManyWithPagination

func (w *WalletHandler) GetManyWithPagination(c *gin.Context)

func (*WalletHandler) GetOne

func (w *WalletHandler) GetOne(c *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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