Back to godoc.org

Package handler

v0.0.0-...-1c0d007
Latest Go to latest

The latest major version is .

Published: Apr 23, 2020 | License: MIT | Module: github.com/16francs/gran/api/group

Index

func ErrorHandling

func ErrorHandling(ctx *gin.Context, err error)

ErrorHandling - エラーレスポンスを返す

type APIHealthHandler

type APIHealthHandler interface {
	HealthCheck(ctx *gin.Context)
}

APIHealthHandler - ヘルスチェック

func NewAPIHealthHandler

func NewAPIHealthHandler() APIHealthHandler

NewAPIHealthHandler - apiHealthHandlerの生成

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier