Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionClose ¶
type ActionClose struct { }
func Close ¶
func Close() *ActionClose
func (ActionClose) Exec ¶
func (a ActionClose) Exec(client Client) error
type ActionExpectLine ¶
type ActionExpectLine struct {
// contains filtered or unexported fields
}
func ExpectLine ¶
func ExpectLine(data string) *ActionExpectLine
func (ActionExpectLine) Exec ¶
func (m ActionExpectLine) Exec(client Client) error
type ActionSend ¶
type ActionSend struct {
// contains filtered or unexported fields
}
func Send ¶
func Send(data string) *ActionSend
func SendLine ¶
func SendLine(data string) *ActionSend
func (ActionSend) Exec ¶
func (m ActionSend) Exec(client Client) error
func (ActionSend) String ¶
func (m ActionSend) String() string
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetAddress ¶
type ServerOption ¶
type ServerOption func(*Server)
func WithListener ¶
func WithListener(listener net.Listener) ServerOption
func WithLogger ¶
func WithLogger(logger *zap.Logger) ServerOption
func WithPassword ¶
func WithPassword(password string) ServerOption
func WithPrivateKey ¶
func WithPrivateKey(privateKey []byte) ServerOption
func WithUser ¶
func WithUser(username string) ServerOption
Click to show internal directories.
Click to hide internal directories.