core

package module
v0.0.0-...-cb87740 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: GPL-2.0 Imports: 14 Imported by: 0

README

ilam-core

somthing awesome (soon)

GitHub Go Reference Go Report Card Go GitHub go.mod Go version (branch)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr          string
	Logger        *log.Logger
	Origin        string
	LaunchAt      time.Time
	Authenticator func(Server, *http.Request, ID) error
}

type ID

type ID = uint64

type Server

type Server interface {
	Listen(certPath, keyPath string) error
	Close() error
}

func New

func New(conf Config) Server

type Statics

type Statics struct {
	LaunchTime  string
	NowTime     string
	Connections int32
}

Jump to

Keyboard shortcuts

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