server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyWorker

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

func NewProxyWorker

func NewProxyWorker(id uint64, ws *websocket.Conn, natsHostPort string) (*ProxyWorker, error)

func (*ProxyWorker) Serve

func (pw *ProxyWorker) Serve()

type Server

type Server struct {
	HostPort string
	CertFile string
	KeyFile  string
	CaFile   string

	EmbeddedNats *nse.NatsServer
	// contains filtered or unexported fields
}

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) Start

func (s *Server) Start(natsArgs []string) error

Jump to

Keyboard shortcuts

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