atsock

package
v1.18.8 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: GPL-2.0, GPL-2.0-or-later Imports: 2 Imported by: 2

Documentation

Overview

Package atsock provides an interface to linux abstract sockets named "@NAME"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(name string) (net.Conn, error)

Dial streaming socket named "@NAME" FIXME retry up to 10 seconds?

func DialUnixgram

func DialUnixgram(name string) (*net.UnixConn, error)

Dial datagram socket named "@NAME"

func Listen

func Listen(name string) (net.Listener, error)

Listen on streaming socket named "@NAME"

func ListenUnixgram

func ListenUnixgram(name string) (*net.UnixConn, error)

Listen for datagrams on a socket named "@NAME"

func NewRpcClient

func NewRpcClient(name string) (*rpc.Client, error)

Dial an rpcserver named "@NAME"

Types

type RpcServer

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

func NewRpcServer

func NewRpcServer(name string) (*RpcServer, error)

Start an rpcserver named "@NAME"

func (*RpcServer) Close

func (srvr *RpcServer) Close() error

Jump to

Keyboard shortcuts

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