hs

package
v0.0.0-...-6fbf478 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebHandler

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

Booksh provides a struct to wrap the api around

func NewWebHandler

func NewWebHandler(c context.Context, cfg *viper.Viper, booksCli datastore.Books, redisCli datastore.Redis) *WebHandler

func (*WebHandler) BookPage

func (h *WebHandler) BookPage(c *gin.Context)

func (*WebHandler) IndexPage

func (h *WebHandler) IndexPage(c *gin.Context)

Jump to

Keyboard shortcuts

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