http

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrReadDir = errors.New("error reading directory")
)

FS is the embedded frontend files

Functions

func CreateRouter added in v1.0.13

func CreateRouter(db *gorm.DB, redisClient *redis.Client) *gin.Engine

Types

type Server added in v1.0.14

type Server struct {
	*http.Server
	// contains filtered or unexported fields
}

func MakeServer added in v1.0.14

func MakeServer(db *gorm.DB, redisClient *redis.Client) Server

func (*Server) Start added in v1.0.14

func (s *Server) Start()

func (*Server) Stop added in v1.0.14

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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