debug

package
Version: v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: MIT Imports: 3 Imported by: 71

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{})

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL