server

package
v0.0.0-...-d2b5f66 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxAllowedExtendedTTL = int64(300)
	DefaultTTL            = int64(30)
	WrongPathError        = "wrong path"
	WrongTTLError         = "wrong TTL"
	WrongIDError          = "wrong session ID"
)

Variables

View Source
var OnlyNumbers = regexp.MustCompile(`^\d+$`)

OnlyNumbers checks on string has only digital.

Functions

func Start

func Start(ctx context.Context)

Start is an entry point for HTTP server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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