Documentation
¶
Overview ¶
Package types implements all the types used by the TicketGranting protocol
Package types implements all the types used by the TicketGranting protocol
Index ¶
- type AuthenticationInfo
- func (ai *AuthenticationInfo) Copy() types.RVType
- func (ai *AuthenticationInfo) Equals(o types.RVType) bool
- func (ai *AuthenticationInfo) ExtractFrom(readable types.Readable) error
- func (ai *AuthenticationInfo) FormatToString(indentationLevel int) string
- func (ai *AuthenticationInfo) String() string
- func (ai *AuthenticationInfo) WriteTo(writable types.Writable)
- type NintendoLoginData
- func (nld *NintendoLoginData) Copy() types.RVType
- func (nld *NintendoLoginData) Equals(o types.RVType) bool
- func (nld *NintendoLoginData) ExtractFrom(readable types.Readable) error
- func (nld *NintendoLoginData) FormatToString(indentationLevel int) string
- func (nld *NintendoLoginData) String() string
- func (nld *NintendoLoginData) WriteTo(writable types.Writable)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationInfo ¶
type AuthenticationInfo struct { types.Structure *types.Data Token *types.String NGSVersion *types.PrimitiveU32 TokenType *types.PrimitiveU8 ServerVersion *types.PrimitiveU32 }
AuthenticationInfo is a type within the TicketGranting protocol
func NewAuthenticationInfo ¶
func NewAuthenticationInfo() *AuthenticationInfo
NewAuthenticationInfo returns a new AuthenticationInfo
func (*AuthenticationInfo) Copy ¶
func (ai *AuthenticationInfo) Copy() types.RVType
Copy returns a new copied instance of AuthenticationInfo
func (*AuthenticationInfo) Equals ¶
func (ai *AuthenticationInfo) Equals(o types.RVType) bool
Equals checks if the given AuthenticationInfo contains the same data as the current AuthenticationInfo
func (*AuthenticationInfo) ExtractFrom ¶
func (ai *AuthenticationInfo) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the AuthenticationInfo from the given readable
func (*AuthenticationInfo) FormatToString ¶
func (ai *AuthenticationInfo) FormatToString(indentationLevel int) string
FormatToString pretty-prints the AuthenticationInfo using the provided indentation level
func (*AuthenticationInfo) String ¶
func (ai *AuthenticationInfo) String() string
String returns the string representation of the AuthenticationInfo
func (*AuthenticationInfo) WriteTo ¶
func (ai *AuthenticationInfo) WriteTo(writable types.Writable)
WriteTo writes the AuthenticationInfo to the given writable
type NintendoLoginData ¶
NintendoLoginData is a type within the TicketGranting protocol
func NewNintendoLoginData ¶
func NewNintendoLoginData() *NintendoLoginData
NewNintendoLoginData returns a new NintendoLoginData
func (*NintendoLoginData) Copy ¶
func (nld *NintendoLoginData) Copy() types.RVType
Copy returns a new copied instance of NintendoLoginData
func (*NintendoLoginData) Equals ¶
func (nld *NintendoLoginData) Equals(o types.RVType) bool
Equals checks if the given NintendoLoginData contains the same data as the current NintendoLoginData
func (*NintendoLoginData) ExtractFrom ¶
func (nld *NintendoLoginData) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the NintendoLoginData from the given readable
func (*NintendoLoginData) FormatToString ¶
func (nld *NintendoLoginData) FormatToString(indentationLevel int) string
FormatToString pretty-prints the NintendoLoginData using the provided indentation level
func (*NintendoLoginData) String ¶
func (nld *NintendoLoginData) String() string
String returns the string representation of the NintendoLoginData
func (*NintendoLoginData) WriteTo ¶
func (nld *NintendoLoginData) WriteTo(writable types.Writable)
WriteTo writes the NintendoLoginData to the given writable