httpserver

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cfg = config.Cfg

Functions

func Server

func Server()

Types

type VersionResource

type VersionResource struct {
}

func (VersionResource) Version

type VersionResourceReq

type VersionResourceReq struct {
	http.Meta `path:"/version" method:"get" sm:"Get server version"`
}

type VersionResourceRes

type VersionResourceRes struct {
	Version string `dc:"Reply sever version"`
}

Jump to

Keyboard shortcuts

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