Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listen9p ¶
type Listen9p struct {
// contains filtered or unexported fields
}
Listen9p implements a listener using the 9p protocol
func NewListen9p ¶
NewListen9p returns a new listener If a key and cert are provided, the listener will use TLS
type Listener ¶
type Listener interface {
// Auth proxies the auth protocol for authentication
Auth(*auth.Protocol) error
// Address returns the dialstring of the listening service
Address() string
// Listen listens for client connections
Listen() error
// Register accepts a Storage, and associates a Filer datatset with the Listener session
// Additionally, a callback can be registered to allow on-connect/command information
Register(store.Filer, commander.Commander, callback.Callback) error
Type() string
}
Listener provides a type which can handle incoming client connections
Click to show internal directories.
Click to hide internal directories.