server

package
v0.0.0-...-7a6fcb1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(ctx *gin.Context, resp errorz.Response, err error)

func InternalError

func InternalError(ctx *gin.Context, resp errorz.Response, err error)

func NotFound

func NotFound(ctx *gin.Context, resp errorz.Response, err error)

func OK

func OK(ctx *gin.Context, resp interface{})

func RunHTTPServer

func RunHTTPServer(createHandler func(engine *gin.Engine) http.Handler)

Types

This section is empty.

Jump to

Keyboard shortcuts

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