handler

package
v0.0.0-...-34e14d4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 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 Handler

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

func NewHandler

func NewHandler(
	ctx context.Context,
	services *services.Services,
	requestParser RequestParser,
) *Handler

func (*Handler) Init

func (h *Handler) Init(r *router.Router)

type RequestParser

type RequestParser interface {
	ParseInt64FromInterface(interface{}) (int64, error)
	ParseInt64FromBytes([]byte) (int64, error)
}

Directories

Path Synopsis
Package mock_handler is a generated GoMock package.
Package mock_handler is a generated GoMock package.

Jump to

Keyboard shortcuts

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