Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + type AuthToken struct + Attributes AuthTokenAttributes + type AuthTokenAttributes struct + Access string + type AuthTokenListResponse struct + Data []AuthToken + Included Included + Links *Links + type AuthTokenResponse struct + Data AuthToken + Included Included + type Details json.RawMessage + func (d *Details) UnmarshalJSON(data []byte) error + func (d Details) MarshalJSON() ([]byte, error) + func (d Details) String() string + func (r *Details) Scan(src interface{}) error + func (r Details) Value() (driver.Value, error) + type Flag struct + Name string + Value int32 + type Flagger interface + IsFlag func() bool + type Flags struct + Mask int32 + Values []Flag + func FlagsFromMask(mask int32, allFlags map[int32]string) Flags + type Included struct + func (c *Included) Add(includes ...Resource) + func (c *Included) MustAuthToken(key Key) *AuthToken + func (c *Included) MustLogin(key Key) *Login + func (c *Included) MustRefresh(key Key) *Refresh + func (c *Included) UnmarshalJSON(data []byte) error + func (c Included) MarshalJSON() ([]byte, error) + type Key struct + ID string + Type ResourceType + func NewKeyInt64(id int64, resourceType ResourceType) Key + func (r *Key) GetKey() Key + func (r Key) AsRelation() *Relation + func (r Key) GetKeyP() *Key + type Links struct + First string + Last string + Next string + Prev string + Self string + type Login struct + Attributes LoginAttributes + type LoginAttributes struct + Email string + Password string + type LoginListResponse struct + Data []Login + Included Included + Links *Links + type LoginResponse struct + Data Login + Included Included + type Refresh struct + Attributes RefreshAttributes + type RefreshAttributes struct + Token string + type RefreshListResponse struct + Data []Refresh + Included Included + Links *Links + type RefreshResponse struct + Data Refresh + Included Included + type Relation struct + Data *Key + Links *Links + type RelationCollection struct + Data []Key + Links *Links + func (r RelationCollection) MarshalJSON() ([]byte, error) + type Resource interface + GetKey func() Key + type ResourceType string + const AUTH_TOKEN + const LOGIN + const REFRESH