debug

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2016 License: GPL-3.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultClient = NewClient()
View Source
var DefaultServer = NewServer()

Functions

func ConnectAndListen

func ConnectAndListen() error

func ListenAndServe

func ListenAndServe() error

func Log

func Log(msg string)

func Logf

func Logf(format string, a ...interface{})

Types

type Client

type Client struct {
	Port string
	Addr string
	Path string
	// contains filtered or unexported fields
}

func NewClient

func NewClient() Client

func (Client) ConnectAndListen

func (c Client) ConnectAndListen() error

type Server

type Server struct {
	Port string
	Addr string
	Path string
	Msg  chan string
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

func (*Server) Log

func (s *Server) Log(msg string)

func (*Server) Logf

func (s *Server) Logf(format string, a ...interface{})

Jump to

Keyboard shortcuts

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