Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(soc Socket) (*rpc.Client, error)

func Listen

func Listen(soc Socket) (net.Listener, error)

Types

type Socket

type Socket struct {
	// Network is the socket network.
	Network string

	// Address is the socket address.
	Address string

	// TLSConfig is set when the socket should also establish a TLS connection.
	TLSConfig *tls.Config
}

Socket represents the set of parameters to use for socket to dial/listen.