lumberjack

package
v0.0.0-...-eb37774 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2015 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(options *ClientOptions) *Client

func (*Client) Disconnect

func (c *Client) Disconnect() error

func (*Client) Name

func (c *Client) Name() string

func (*Client) Send

func (c *Client) Send(lines []client.Data) error

type ClientOptions

type ClientOptions struct {
	Network           string
	Address           string
	ConnectionTimeout time.Duration
	SendTimeout       time.Duration
	TLSConfig         *tls.Config
}

type Server

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

func (*Server) Addr

func (s *Server) Addr() net.Addr

func (*Server) Close

func (s *Server) Close() error

func (*Server) ServeInto

func (s *Server) ServeInto(dataCh chan<- client.Data) error

Jump to

Keyboard shortcuts

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