version

package
v0.0.0-...-b2c9b18 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	C *ctx.Context
}

Handler is a container for handlers and app data

func NewHandler

func NewHandler(c *ctx.Context) *Handler

func (*Handler) GetVersion

func (h *Handler) GetVersion(c echo.Context) error

GetVersion is a GET /version handler

type Result

type Result struct {
	Result     string `json:"result"`
	Version    string `json:"version"`
	ServerTime int64  `json:"server_time"`
}

Result defines http response on GET /version

Jump to

Keyboard shortcuts

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