api

package
v0.0.0-...-81ccbf4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerErr = errors.New("500-")
)

Functions

This section is empty.

Types

type AdminCollectionResponse

type AdminCollectionResponse struct {
	RunningCollections []*model.RunningPlan `json:"running_collections"`
	NodePools          smodel.AllNodesInfo  `json:"node_pools"`
}

type JSONMessage

type JSONMessage struct {
	Message string `json:"message"`
}

type Route

type Route struct {
	Name        string
	Method      string
	Path        string
	HandlerFunc httprouter.Handle
}

type Routes

type Routes []*Route

type ShibuyaAPI

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

func NewAPIServer

func NewAPIServer() *ShibuyaAPI

func (*ShibuyaAPI) InitRoutes

func (s *ShibuyaAPI) InitRoutes() Routes

Jump to

Keyboard shortcuts

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