Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T string
T is an arbitrary string of 1-64 characters in length generated as a request or session identifier.
func New ¶
New inspects a string and converts to T if it is valid. Invalid means length < 0 and <= 64 (hex encoded 256 bit hash).
func (T) IsValid ¶
IsValid returns true if the subscription id is between 1 and 64 characters. Invalid means too long or not present.
func (T) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.