Documentation ¶
Overview ¶
Package transport defines a common interface for network connections that have an associated client identity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClientIdentity ¶
A client identity must be a single component in a ZFS filesystem path
Types ¶
type AuthConn ¶
type AuthConn struct { Wire // contains filtered or unexported fields }
func NewAuthConn ¶
func (*AuthConn) ClientIdentity ¶
type AuthenticatedListener ¶
type AuthenticatedListener interface { Addr() net.Addr Accept(ctx context.Context) (*AuthConn, error) Close() error }
like net.Listener, but with an AuthenticatedConn instead of net.Conn
type AuthenticatedListenerFactory ¶
type AuthenticatedListenerFactory func() (AuthenticatedListener, error)
type Wire ¶
type Wire = timeoutconn.Wire
Click to show internal directories.
Click to hide internal directories.