backend

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetList

func GetList() []string

func HaveBackend

func HaveBackend(name string) bool

func Register

func Register(name string, b Backend)

Types

type Backend

type Backend interface {
	Metadata() interface{}
	MakeHandler(tracer opentracing.Tracer, opts []kithttp.ServerOption, r *bone.Mux)
}

func GetBackend

func GetBackend(name string) Backend

type ConfigFeature

type ConfigFeature struct {
	Type     string `json:"type"`
	Input    string `json:"input"`
	Title    string `json:"title"`
	Name     string `json:"name"`
	Required bool   `json:"required"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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