server

package
v0.0.0-...-959eceb Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server - Represents the running app, and all the bits and pieces we need to make API calls.

func New

func New(c *config.Config) *Server

New - Returns an instance of the HTTP server.

func (*Server) Start

func (s *Server) Start() error

Start - Calls ListenAndServe() on the http server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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