server

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: MIT Imports: 11 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 {
	Inputs  map[string]yaml.MapSlice `yaml:"inputs"`
	Outputs map[string]yaml.MapSlice `yaml:"outputs"`
}

func LoadConfig

func LoadConfig(file string) (*Config, error)

type Server

type Server struct {
	Config *Config
	Buffer *buffer.Buffer
	// contains filtered or unexported fields
}

func New

func New(configFile string) (*Server, error)

func (*Server) Start

func (s *Server) Start()

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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