router

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheck

func HealthCheck(c *gin.Context)
func Search(c *gin.Context, conf *config.Config, db cache.DB) error

Types

type RouterWrapper

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

func New

func New(config *config.Config, verbosity int8, lgr zerolog.Logger) (*RouterWrapper, error)

func (*RouterWrapper) Start

func (rw *RouterWrapper) Start(ctx context.Context, db cache.DB, serveProfiler bool) error

Jump to

Keyboard shortcuts

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