Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + type CreateRequest struct + FromUser string + Module string + Payload json.RawMessage + ToUser string + 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 EstimatedTime struct + Attributes EstimatedTimeAttributes + type EstimatedTimeAttributes struct + EstimatedTime string + type EstimatedTimeListResponse struct + Data []EstimatedTime + Included Included + Links *Links + type EstimatedTimeResponse struct + Data EstimatedTime + Included Included + 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 FromToUser struct + Attributes FromToUserAttributes + type FromToUserAttributes struct + FromUser string + ToUser string + type FromToUserListResponse struct + Data []FromToUser + Included Included + Links *Links + type FromToUserResponse struct + Data FromToUser + Included Included + type GetRequest struct + CreatedAt string + Error *string + FromUser string + Module string + Payload json.RawMessage + Status string + ToUser string + type Included struct + func (c *Included) Add(includes ...Resource) + func (c *Included) MustEstimatedTime(key Key) *EstimatedTime + func (c *Included) MustFromToUser(key Key) *FromToUser + func (c *Included) MustLink(key Key) *Link + func (c *Included) MustModule(key Key) *Module + func (c *Included) MustModuleInfo(key Key) *ModuleInfo + func (c *Included) MustModulesRoles(key Key) *ModulesRoles + func (c *Included) MustRefresh(key Key) *Refresh + func (c *Included) MustRequest(key Key) *Request + func (c *Included) MustRole(key Key) *Role + func (c *Included) MustSubmodule(key Key) *Submodule + func (c *Included) MustUser(key Key) *User + 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 Link struct + Attributes LinkAttributes + type LinkAttributes struct + IsExists bool + Link string + type LinkListResponse struct + Data []Link + Included Included + Links *Links + type LinkResponse struct + Data Link + Included Included + type Links struct + First string + Last string + Next string + Prev string + Self string + type Module struct + Attributes ModuleAttributes + type ModuleAttributes struct + IsModule bool + Link string + Name string + Prefix string + Title string + Topic string + type ModuleInfo struct + Attributes ModuleInfoAttributes + type ModuleInfoAttributes struct + Icon string + Name string + Prefix string + type ModuleInfoListResponse struct + Data []ModuleInfo + Included Included + Links *Links + type ModuleInfoResponse struct + Data ModuleInfo + Included Included + type ModuleListResponse struct + Data []Module + Included Included + Links *Links + type ModuleResponse struct + Data Module + Included Included + type ModulesRoles struct + Attributes ModulesRolesAttributes + type ModulesRolesAttributes struct + type ModulesRolesListResponse struct + Data []ModulesRoles + Included Included + Links *Links + type ModulesRolesResponse struct + Data ModulesRoles + Included Included + type NewRequest struct + Module string + Payload json.RawMessage + type Refresh struct + Attributes RefreshAttributes + type RefreshAttributes struct + ModuleName *string + Submodule *[]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 Request struct + Attributes RequestAttributes + Relationships RequestRelationships + type RequestAttributes struct + CreatedAt string + Error *string + FromUser string + Module string + Payload json.RawMessage + Status string + ToUser string + type RequestListResponse struct + Data []Request + Included Included + Links *Links + type RequestRelationships struct + User Relation + type RequestResponse struct + Data Request + Included Included + type Resource interface + GetKey func() Key + type ResourceType string + const ESTIMATED_TIME + const LINKS + const MODULES + const REFRESH + const REQUESTS + const ROLE + const USERS + type Role struct + Attributes RoleAttributes + type RoleAttributes struct + Name string + Value string + type RoleListResponse struct + Data []Role + Included Included + Links *Links + type RoleResponse struct + Data Role + Included Included + type Submodule struct + Attributes SubmoduleAttributes + type SubmoduleAttributes struct + Links []string + type SubmoduleListResponse struct + Data []Submodule + Included Included + Links *Links + type SubmoduleResponse struct + Data Submodule + Included Included + type User struct + Attributes UserAttributes + type UserAttributes struct + AccessLevel string + Module string + Phone *string + Submodule string + UserId int64 + Username *string + type UserListResponse struct + Data []User + Included Included + Links *Links + type UserResponse struct + Data User + Included Included