handler

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinHandler

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

func NewGinHandler

func NewGinHandler() GinHandler

func (GinHandler) AuthMiddleware

func (h GinHandler) AuthMiddleware(c *gin.Context)

func (GinHandler) GetBeer

func (h GinHandler) GetBeer(c *gin.Context)

func (GinHandler) HandleEcho

func (h GinHandler) HandleEcho(c *gin.Context)

HandleEcho returns the whole body as received with the same Content-Type header as the one received

func (GinHandler) HandleHealthCheck

func (h GinHandler) HandleHealthCheck(c *gin.Context)

func (GinHandler) HandleLogin

func (h GinHandler) HandleLogin(c *gin.Context)

func (GinHandler) ListBeers

func (h GinHandler) ListBeers(c *gin.Context)

Jump to

Keyboard shortcuts

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