server

package
v0.0.0-...-2d43357 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jocko

type Jocko struct {
	LogDir string
}

func NewJocko

func NewJocko(logDir string) (*Jocko, error)

type Server

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

func New

func New(addr string, broker jocko.Broker, logger *simplelog.Logger) *Server

func (*Server) Addr

func (s *Server) Addr() net.Addr

Addr returns the address on which the Server is listening

func (*Server) Close

func (s *Server) Close()

Close closes the service.

func (*Server) Start

func (s *Server) Start() error

Start starts the service.

type Topic

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

type TopicConfig

type TopicConfig struct {
}

Jump to

Keyboard shortcuts

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