Documentation ¶
Index ¶
- Variables
- type Option
- type Terminal
- func (terminal *Terminal) Close() error
- func (terminal *Terminal) FindSession(token string) *session.Session
- func (terminal *Terminal) IsSecretValid(secret string) bool
- func (terminal *Terminal) Locator() string
- func (terminal *Terminal) RegisterSession(session *session.Session) error
- func (terminal *Terminal) UnregisterSession(session *session.Session)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNewSessionRefused = errors.New("refusing to register new session")
Functions ¶
This section is empty.
Types ¶
type Terminal ¶
type Terminal struct { NewSessionChan chan *session.Session // contains filtered or unexported fields }
func (*Terminal) IsSecretValid ¶
func (*Terminal) RegisterSession ¶
func (*Terminal) UnregisterSession ¶
Click to show internal directories.
Click to hide internal directories.