Documentation ¶
Index ¶
Constants ¶
View Source
const AdminTable = "Admin"
AdminTable - Table name
View Source
const ApprovalTable = "Approval"
ApprovalTable - Table name
View Source
const ProposalTable = "Proposal"
ProposalTable - Table name
View Source
const SuperAdminTable = "SuperAdmin"
SuperAdminTable - Table name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { AdminID string `json:"AdminID"` Name string `json:"Name"` Status string `json:"Status"` }
Admin ...
type Approval ¶
type Approval struct { ApprovalID string `json:"ApprovalID"` ProposalID string `json:"ProposalID"` ApproverID string `json:"ApproverID"` Challenge string `json:"Challenge"` Signature string `json:"Signature"` Message string `json:"Message"` Status string `json:"Status"` CreatedAt string `json:"CreatedAt"` }
Approval ...
type Proposal ¶
type Proposal struct { ProposalID string `json:"ProposalID"` // set Message string `json:"Message"` // args[0] CreatedBy string `json:"CreatedBy"` // args[1]: ID of Admin/SAdmin Status string `json:"Status"` // set CreatedAt string `json:"CreatedAt"` // args[2] UpdatedAt string `json:"UpdatedAt"` // args[3] }
Proposal - struct
Click to show internal directories.
Click to hide internal directories.