routes

package
v0.0.0-...-9d6c436 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(gCtx global.Context) rest.Route

Types

type Response

type Response struct {
	Online   bool             `json:"online"`
	Uptime   string           `json:"uptime"`
	Services responseServices `json:"services"`
}

type Route

type Route struct {
	Ctx global.Context
}

func (*Route) Config

func (r *Route) Config() rest.RouteConfig

func (*Route) Handler

func (r *Route) Handler(ctx *rest.Ctx) rest.APIError

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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