cmd

package
v0.0.0-...-37076da Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors() echo.MiddlewareFunc

func Ping

func Ping(c echo.Context) error

Ping is a health check endpoint.

@summary Ping the server. @description A simple health check. @tags healthcheck @accept json @produce json @success 200 {object} httputil.PingOk @failure 500 {object} httputil.PingInternalServerErr @failure 502 {object} httputil.PingInternalServerErr @failure 503 {object} httputil.PingInternalServerErr @router /ping [get]

func RunServer

func RunServer()

Types

This section is empty.

Directories

Path Synopsis
Package httputil represents the http responses documentation.
Package httputil represents the http responses documentation.

Jump to

Keyboard shortcuts

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