debug

package
v0.0.0-...-a302a52 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2015 License: 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