local

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type LocalConnecter

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

func LocalConnecterFromConfig

func LocalConnecterFromConfig(in *config.LocalConnect) (*LocalConnecter, error)

func (*LocalConnecter) Connect

func (c *LocalConnecter) Connect(dialCtx context.Context) (transport.Wire, error)

type LocalListener

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

func GetLocalListener

func GetLocalListener(listenerName string) *LocalListener

func (*LocalListener) Accept

func (l *LocalListener) Accept(ctx context.Context) (*transport.AuthConn, error)

func (*LocalListener) Addr

func (l *LocalListener) Addr() net.Addr

func (*LocalListener) Close

func (l *LocalListener) Close() error

func (*LocalListener) Connect

func (l *LocalListener) Connect(dialCtx context.Context, clientIdentity string) (conn transport.Wire, err error)

Connect to the LocalListener from a client with identity clientIdentity

Jump to

Keyboard shortcuts

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