atsock

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: GPL-2.0, GPL-2.0-or-later Imports: 2 Imported by: 19

README

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


© 2015-2018 Platina Systems, Inc. All rights reserved. Use of this source code is governed by this BSD-style LICENSE.

Documentation

Overview

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

Index

Constants

View Source
const License = `` /* 15871-byte string literal not displayed */
View Source
const Version = "v1.1.0"

Version format :: v<MAJOR>.<MINOR>.<PATCH>[-rc<CANDIDATE>]

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