api

package
v0.0.0-...-8557113 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

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

func NewHttpServer

func NewHttpServer(config config.Config, datastore db.DataStore, redisClient *goRedis.Client, validate *validator.Validate) (*HttpServer, error)

func (*HttpServer) SetupRouter

func (server *HttpServer) SetupRouter(config config.Config, validate *validator.Validate) *gin.Engine

func (*HttpServer) Shutdown

func (server *HttpServer) Shutdown(ctx context.Context) error

func (*HttpServer) Start

func (server *HttpServer) Start() error

Jump to

Keyboard shortcuts

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