server

package
v0.0.0-...-7bcfc8b Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2016 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MSG_HEADER_SIZE = 8
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// host:port address.
	Addr string

	// Unix socket filename.
	Socket string

	// Log file location.
	LogfileName string
}

func (*Options) GetAddr

func (opt *Options) GetAddr() string

func (*Options) GetLogfileName

func (opt *Options) GetLogfileName() string

func (*Options) GetSocket

func (opt *Options) GetSocket() string

func (*Options) GetTCPAddr

func (opt *Options) GetTCPAddr() *net.TCPAddr

type Server

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

func GhostRun

func GhostRun(opt *Options) Server

Jump to

Keyboard shortcuts

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