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
Click to show internal directories.
Click to hide internal directories.