handler

package
v0.0.0-...-bf2d9d7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	ItemHandler() ItemHandler
	PingHandler() PingHandler
}

func New

func New(
	repositoryClient repository.Repository,
) Handler

type ItemHandler

type ItemHandler interface {
	GetItem(c *gin.Context)
}

func NewItemHandler

func NewItemHandler(
	repositoryClient repository.Repository,
) ItemHandler

type PingHandler

type PingHandler interface {
	Ping(c *gin.Context)
}

func NewPingHandler

func NewPingHandler() PingHandler

Jump to

Keyboard shortcuts

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