debug

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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