handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnuHandler

type OnuHandler struct {
	// contains filtered or unexported fields
}

func NewOnuHandler

func NewOnuHandler(ponUsecase usecase.OnuUseCaseInterface) *OnuHandler

func (*OnuHandler) GetByBoardIDAndPonID

func (o *OnuHandler) GetByBoardIDAndPonID(w http.ResponseWriter, r *http.Request)

func (*OnuHandler) GetByBoardIDAndPonIDWithPaginate

func (o *OnuHandler) GetByBoardIDAndPonIDWithPaginate(w http.ResponseWriter, r *http.Request)

func (*OnuHandler) GetByBoardIDPonIDAndOnuID

func (o *OnuHandler) GetByBoardIDPonIDAndOnuID(w http.ResponseWriter, r *http.Request)

func (*OnuHandler) GetEmptyOnuID

func (o *OnuHandler) GetEmptyOnuID(w http.ResponseWriter, r *http.Request)

func (*OnuHandler) GetOnuSerialNumber

func (o *OnuHandler) GetOnuSerialNumber(w http.ResponseWriter, r *http.Request)

func (*OnuHandler) UpdateEmptyOnuID

func (o *OnuHandler) UpdateEmptyOnuID(w http.ResponseWriter, r *http.Request)

type OnuHandlerInterface

type OnuHandlerInterface interface {
	GetByBoardIDAndPonID(w http.ResponseWriter, r *http.Request)
	GetByBoardIDPonIDAndOnuID(w http.ResponseWriter, r *http.Request)
	GetEmptyOnuID(w http.ResponseWriter, r *http.Request)
	GetOnuSerialNumber(w http.ResponseWriter, r *http.Request)
	UpdateEmptyOnuID(w http.ResponseWriter, r *http.Request)
	GetByBoardIDAndPonIDWithPaginate(w http.ResponseWriter, r *http.Request)
}

Jump to

Keyboard shortcuts

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