httpserver

package
v0.0.0-...-2e0f99f Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoggerCtxKey = "logger"
	UserIdCtxKey = "userId"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ColabShieldServer

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

ColabShieldServer is the main HTTP server for Colab Shield

func NewColabShieldServer

func NewColabShieldServer(db domain.ColabDatabase) *ColabShieldServer

func (*ColabShieldServer) Serve

func (css *ColabShieldServer) Serve(port int) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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