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 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 CommandPayload ¶
CommandPayload represents a command payload with code and parameters.
func EmptyCommandPayload ¶
func EmptyCommandPayload() CommandPayload
EmptyCommandPayload returns an empty CommandPayload struct.
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.