server

package
v2.4.4+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: MIT Imports: 8 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 {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(addr, key, cert string) *Config

type Server

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

func New

func New(addr string, ip string, watchers map[string]watcher.Watcher, cfg *Config) (*Server, error)

func (*Server) Run

func (srv *Server) Run()

Jump to

Keyboard shortcuts

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