server

package
v0.0.2-0...-b3cfdcc Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port string
}

Config containes params to start a server, only port now

type Server

type Server interface {
	Start() chan error
	Shutdown() error
}

Server is the interface of a monitor server

func NewServer

func NewServer(ctx context.Context, conf Config) Server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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