server

package
v0.0.0-...-e0f7ac1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: GPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidRepository = errors.New("The repository doesn't contain Go code")

Functions

func InitializeConfig

func InitializeConfig()

Types

type Cfg

var Config Cfg

type Server

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

func New

func New() (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

ListenAndServe binds the HTTP port and listens for requests.

Jump to

Keyboard shortcuts

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