x

package
v0.38.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 10 Imported by: 14

Documentation

Index

Constants

View Source
const UnknownVersion = "master"

Variables

View Source
var (
	Version = "master"
	Date    = "undefined"
	Commit  = "undefined"
)

Functions

func Deepcopy

func Deepcopy(m map[string]interface{}) (map[string]interface{}, error)

Deepcopy performs a deep copy of the given map m.

func NewTemplate

func NewTemplate(id string) *template.Template

NewTemplate creates a template with additional functions

Types

type RegistryLogger

type RegistryLogger interface {
	Logger() *logrusx.Logger
}

type RegistryWriter

type RegistryWriter interface {
	Writer() herodot.Writer
}

type RouterAPI

type RouterAPI struct {
	*httprouter.Router
}

func NewAPIRouter

func NewAPIRouter() *RouterAPI

type TestLoggerProvider

type TestLoggerProvider struct{}

func (*TestLoggerProvider) Logger

func (lp *TestLoggerProvider) Logger() *logrusx.Logger

Jump to

Keyboard shortcuts

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