Documentation
¶
Overview ¶
Package structure defines the core data structures used throughout NesterShell.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveSession ¶ added in v1.3.0
type ActiveSession struct {
Data Session
TransitPassword []byte
EncryptionKey []byte
BackgroundJobs []*background.Job
JobCounter int
}
func (*ActiveSession) GetJobResult ¶ added in v1.3.0
func (actSesPtr *ActiveSession) GetJobResult(id int)
func (ActiveSession) PrintJobStatus ¶ added in v1.3.0
func (actSes ActiveSession) PrintJobStatus()
type AdditionalCookie ¶
AdditionalCookie represents a cookie with a name and a value.
type B64Session ¶
type B64Session struct {
Name string
Url string
Hash string
ChannelCookie string
AdditionalCookies string
}
B64Session represents a session with base64-encoded fields for storage.
type Session ¶
type Session struct {
Name string
Url string
HashBytes []byte
ChannelCookie string
AdditionalCookies []AdditionalCookie
}
Session represents a decoded session with raw byte fields.
func DecodeSession ¶
func DecodeSession(b64Session B64Session) (Session, error)
DecodeSession decodes a base64-encoded session to a regular session.
Click to show internal directories.
Click to hide internal directories.