Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoProtocol ¶
type SSHProtocol ¶
type SSHProtocol struct {
Addr string
}
func NewSSHProtocol ¶
func NewSSHProtocol(addr string) *SSHProtocol
func (*SSHProtocol) ClientOpen ¶
func (s *SSHProtocol) ClientOpen(ctx context.Context, token string, privateKeyPEM []byte) (io.ReadWriteCloser, error)
func (*SSHProtocol) Name ¶
func (s *SSHProtocol) Name() string
func (*SSHProtocol) ServerListen ¶
func (s *SSHProtocol) ServerListen(addr string, token string, expectedClientPublicKeySSH []byte, onFrame func(string, []byte, io.ReadWriteCloser)) error
Click to show internal directories.
Click to hide internal directories.