Documentation
¶
Index ¶
- type PtyInput
- type PtyOutput
- type PtyReady
- type PtyStart
- type SessionAuth
- type SessionManager
- func (sm *SessionManager) PtyInput(input string, timeout time.Duration) error
- func (sm *SessionManager) PtyStart(timeout time.Duration) error
- func (sm *SessionManager) SessionAuth() error
- func (sm *SessionManager) StartSession() error
- func (sm *SessionManager) TestConn() error
- func (sm *SessionManager) WaitPtyReady(timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionAuth ¶
type SessionManager ¶
type SessionManager struct { ApiHost string ApiPort int WsHost string WsPort int Region string AppID int Uin string InstanceID string SessionID string // contains filtered or unexported fields }
func NewSessionManager ¶
func NewSessionManager(region, apiHost, wsHost string, apiPort, wsPort, appID int, uin, instanceId string) *SessionManager
func (*SessionManager) PtyInput ¶
func (sm *SessionManager) PtyInput(input string, timeout time.Duration) error
func (*SessionManager) SessionAuth ¶
func (sm *SessionManager) SessionAuth() error
func (*SessionManager) StartSession ¶
func (sm *SessionManager) StartSession() error
func (*SessionManager) TestConn ¶
func (sm *SessionManager) TestConn() error
func (*SessionManager) WaitPtyReady ¶
func (sm *SessionManager) WaitPtyReady(timeout time.Duration) error
Click to show internal directories.
Click to hide internal directories.