server

package
v0.0.0-...-942df37 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeadlineServer

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

DeadlineServer is the http server for the deadline application.

func NewDeadlineServer

func NewDeadlineServer(cfg *config.Config) *DeadlineServer

NewDeadlineServer returns a new deadline server based on the configuration given.

func (*DeadlineServer) Start

func (dlsvr *DeadlineServer) Start() error

Start starts the http server.

func (*DeadlineServer) Stop

func (dlsvr *DeadlineServer) Stop() error

Stop stops the http server.

Jump to

Keyboard shortcuts

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