template

package
v0.0.0-...-edcda46 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrIDInvalid

func IsErrIDInvalid(err error) bool

IsErrIDInvalid func validate

func IsErrTemplate

func IsErrTemplate(err error) bool

IsErrTemplate func validate

Types

type Handler

type Handler interface {
	AddRouters(r *gin.Engine)
}

Handler repository

func NewHandler

func NewHandler(entry *logrus.Entry, s Service) Handler

NewHandler create a new handler repository

type Service

type Service interface {
	// contains filtered or unexported methods
}

Service repository

func NewServiceAsLogger

func NewServiceAsLogger(entry *logrus.Entry) Service

NewServiceAsLogger create a new service repository as logger

Jump to

Keyboard shortcuts

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