http

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODULE = "version"
)

Variables

This section is empty.

Functions

func NewVersionHttpHandler

func NewVersionHttpHandler(gateway cx.HttpHandler, svc version.Service) delivery.HttpHandler

Types

type VersionHttpHandler

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

func (VersionHttpHandler) CheckVersion

func (this VersionHttpHandler) CheckVersion(c *gin.Context) error

func (VersionHttpHandler) GetServerVersion

func (this VersionHttpHandler) GetServerVersion(c *gin.Context) error

func (VersionHttpHandler) Upgrade

func (this VersionHttpHandler) Upgrade(c *gin.Context) error

Jump to

Keyboard shortcuts

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