sockfile

package
v0.0.0-...-ce6b118 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

README

sockfile


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

Documentation

Index

Constants

View Source
const Dir = "/run/goes/socks"

Variables

This section is empty.

Functions

func Dial

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

func Listen

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

func NewRpcClient

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

func Path

func Path(name string) string

Path returns Dir + "/" + Dir(name) if name isn't already prefaced by Dir

func RemoveAll

func RemoveAll()

Types

type RpcServer

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

func NewRpcServer

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

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