apiserver

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(apiPrefix string, config *config.Config, services *Services) http.Handler

func NewTemplate

func NewTemplate(r *gin.Engine, name string) *template.Template

Types

type Services

type Services struct {
	Store         *dbstore.DB
	TiDBForwarder *tidb.Forwarder
	KeyVisual     *keyvisual.Service
	EtcdProvider  pd.EtcdProvider
	HTTPClient    *http.Client
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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