web

package
v0.0.0-...-422c157 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const TokenName = "BiblioSeeQToken"

Variables

View Source
var LocalPassword string = uuid.New().String()

Functions

func AuthRequired

func AuthRequired(c *gin.Context)

func GetFreePort

func GetFreePort() (port int, err error)

func GetWrappedRouter

func GetWrappedRouter() http.Handler

func NewServer

func NewServer(
	host string,
	port int,
	searchEngine *search.Engine,
) (
	server *http.Server,
	err error,
)

func ParseServerAddr

func ParseServerAddr(addr string) (host string, port int, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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