info

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseResponse

type DatabaseResponse = []string

type InfoResponse

type InfoResponse struct {
	Version    utils2.VersionInfo `json:"version"`
	PDEndPoint string             `json:"pd_end_point"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(config *config.Config, tidbForwarder *tidb.Forwarder, db *dbstore.DB) *Service

func (*Service) Register

func (s *Service) Register(r *gin.RouterGroup, auth *user.AuthService)

type WhoAmIResponse

type WhoAmIResponse struct {
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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