Versions in this module Expand all Collapse all v0 v0.1.0 Oct 3, 2023 Changes in this version + type AccessLevel struct + Name string + Value string + type AddUser struct + AccessLevel int + Action string + Link string + UserId string + Username string + type DeleteUser struct + Action string + Username 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 GetUsers struct + Action string + Link string + type Included struct + func (c *Included) Add(includes ...Resource) + func (c *Included) MustEstimatedTime(key Key) *EstimatedTime + func (c *Included) MustInputs(key Key) *Inputs + func (c *Included) MustLink(key Key) *Link + func (c *Included) MustModule(key Key) *Module + func (c *Included) MustModuleRoles(key Key) *ModuleRoles + func (c *Included) MustRequest(key Key) *Request + func (c *Included) MustRole(key Key) *Role + func (c *Included) MustRoles(key Key) *Roles + func (c *Included) MustSubmodules(key Key) *Submodules + func (c *Included) MustUser(key Key) *User + func (c *Included) MustUserInfo(key Key) *UserInfo + func (c *Included) MustUserPermission(key Key) *UserPermission + func (c *Included) UnmarshalJSON(data []byte) error + func (c Included) MarshalJSON() ([]byte, error) + type Inputs struct + Attributes InputsAttributes + type InputsAttributes struct + AccessLevel string + Link string + Username string + type InputsListResponse struct + Data []Inputs + Included Included + Links *Links + type InputsResponse struct + Data Inputs + Included Included + 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 ModuleListResponse struct + Data []Module + Included Included + Links *Links + type ModuleResponse struct + Data Module + Included Included + type ModuleRoles struct + Attributes ModuleRolesAttributes + type ModuleRolesAttributes struct + type ModuleRolesListResponse struct + Data []ModuleRoles + Included Included + Links *Links + type ModuleRolesResponse struct + Data ModuleRoles + Included Included + type Relation struct + Data *Key + Links *Links + type RelationCollection struct + Data []Key + Links *Links + func (r RelationCollection) MarshalJSON() ([]byte, error) + type RemoveUser struct + Action string + Link string + Username string + type Request struct + Attributes RequestAttributes + Relationships RequestRelationships + type RequestAttributes struct + Module string + Payload json.RawMessage + 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 INPUTS + const LINKS + const MODULES + const REQUESTS + const ROLE + const ROLES + const USER + const USER_PERMISSION + 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 Roles struct + Attributes RolesAttributes + type RolesAttributes struct + List []AccessLevel + Req bool + type RolesListResponse struct + Data []Roles + Included Included + Links *Links + type RolesResponse struct + Data Roles + Included Included + type Submodules struct + Attributes SubmodulesAttributes + type SubmodulesAttributes struct + Links []string + type SubmodulesListResponse struct + Data []Submodules + Included Included + Links *Links + type SubmodulesResponse struct + Data Submodules + Included Included + type UpdateUser struct + AccessLevel int + Action string + Link string + Username string + type User struct + Attributes UserAttributes + type UserAttributes struct + AccessLevel *string + CreatedAt *time.Time + Module string + Submodule *string + UserId *int64 + Username string + type UserInfo struct + Attributes UserInfoAttributes + type UserInfoAttributes struct + AvatarUrl string + Username string + type UserInfoListResponse struct + Data []UserInfo + Included Included + Links *Links + type UserInfoResponse struct + Data UserInfo + Included Included + type UserListResponse struct + Data []User + Included Included + Links *Links + type UserPermission struct + Attributes UserPermissionAttributes + type UserPermissionAttributes struct + AccessLevel AccessLevel + Deployable bool + ExpiresAt *time.Time + Link string + ModuleId int64 + Path string + Type string + UserId *int64 + Username string + type UserPermissionListResponse struct + Data []UserPermission + Included Included + Links *Links + type UserPermissionResponse struct + Data UserPermission + Included Included + type UserResponse struct + Data User + Included Included + type VerifyUser struct + Action string + UserId string + Username string