juju: github.com/wallyworld/juju/juju/sockets Index | Files

package sockets

import "github.com/wallyworld/juju/juju/sockets"


Package Files

sockets.go sockets_nix.go

func Dial Uses

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

func Listen Uses

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

type Socket Uses

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.

Package sockets imports 11 packages (graph). Updated 2019-09-28. Refresh now. Tools for package owners.