utils

package
v0.0.0-...-01bf894 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToolsLogger

type ToolsLogger interface {
	LoggerError(c echo.Context)
}

func NewToolsLogger

func NewToolsLogger() ToolsLogger

type ToolsLoggerImpl

type ToolsLoggerImpl struct {
	Response ToolsResponse
}

func (*ToolsLoggerImpl) LoggerError

func (st *ToolsLoggerImpl) LoggerError(c echo.Context)

type ToolsResponse

type ToolsResponse interface {
	SenderResponseJSON(c echo.Context, code int, msg interface{}, data interface{}) error
}

func NewToolsReponse

func NewToolsReponse() ToolsResponse

type ToolsResponseImpl

type ToolsResponseImpl struct{}

func (*ToolsResponseImpl) SenderResponseJSON

func (st *ToolsResponseImpl) SenderResponseJSON(c echo.Context, code int, msg interface{}, data interface{}) error

Jump to

Keyboard shortcuts

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