info

package
v0.0.0-...-47e18b9 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRouter

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

Types

type DatabaseResponse

type DatabaseResponse = []string

type InfoResponse

type InfoResponse struct {
	Version            *version.Info `json:"version"`
	EnableTelemetry    bool          `json:"enable_telemetry"`
	EnableExperimental bool          `json:"enable_experimental"`
}

type Service

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

func NewService

func NewService(p ServiceParams) *Service

type ServiceParams

type ServiceParams struct {
	fx.In
	Config     *config.Config
	LocalStore *dbstore.DB
	TiDBClient *tidb.Client
}

type WhoAmIResponse

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

Jump to

Keyboard shortcuts

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