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 scheduler.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 ShibuyaAPI ¶
type ShibuyaAPI struct {
// contains filtered or unexported fields
}
func NewAPIServer ¶
func NewAPIServer() *ShibuyaAPI
func (*ShibuyaAPI) InitRoutes ¶
func (s *ShibuyaAPI) InitRoutes() Routes
Click to show internal directories.
Click to hide internal directories.