Documentation ¶
Index ¶
- func ConnectToDb(dbUser string, dbPwd string, mongoId string, dbTimeout time.Duration) (*mongo.Client, error)
- func StatusCheck(w http.ResponseWriter, r *http.Request)
- type AccountOps
- func (ops AccountOps) AddAccountRequest(w http.ResponseWriter, r *http.Request)
- func (ops AccountOps) GetAccountRequests(w http.ResponseWriter, r *http.Request)
- func (ops AccountOps) RemoveAccountRequest(w http.ResponseWriter, r *http.Request)
- func (ops AccountOps) UpdateAccountRequest(w http.ResponseWriter, r *http.Request)
- type AssetOps
- func (ops AssetOps) AddAssetRequest(w http.ResponseWriter, r *http.Request)
- func (ops AssetOps) GetAssetRequests(w http.ResponseWriter, r *http.Request)
- func (ops AssetOps) RemoveAssetRequest(w http.ResponseWriter, r *http.Request)
- func (ops AssetOps) UpdateAssetRequest(w http.ResponseWriter, r *http.Request)
- type BlocklistOps
- type InstitutionOps
- func (ops InstitutionOps) AddInstitution(w http.ResponseWriter, r *http.Request)
- func (ops InstitutionOps) GetInstitution(w http.ResponseWriter, r *http.Request)
- func (ops InstitutionOps) GetInstitutions(w http.ResponseWriter, r *http.Request)
- func (ops InstitutionOps) RemoveInstitution(w http.ResponseWriter, r *http.Request)
- func (ops InstitutionOps) UpdateInstitution(w http.ResponseWriter, r *http.Request)
- type JwtOps
- type KillswitchOps
- func (ops KillswitchOps) AddKillswitchRequest(w http.ResponseWriter, r *http.Request)
- func (ops KillswitchOps) GetKillswitchRequest(w http.ResponseWriter, r *http.Request)
- func (ops KillswitchOps) RemoveKillswitchRequest(w http.ResponseWriter, r *http.Request)
- func (ops KillswitchOps) UpdateKillswitchRequest(w http.ResponseWriter, r *http.Request)
- type ParticipantOps
- type SuperOps
- type TrustOps
- func (ops TrustOps) AddTrustRequest(w http.ResponseWriter, r *http.Request)
- func (ops TrustOps) GetTrustRequests(w http.ResponseWriter, r *http.Request)
- func (ops TrustOps) RemoveTrustRequest(w http.ResponseWriter, r *http.Request)
- func (ops TrustOps) UpdateTrustRequest(w http.ResponseWriter, r *http.Request)
- type TxOps
- type UserOps
- func (ops UserOps) GetParticipantUsers(w http.ResponseWriter, r *http.Request)
- func (ops UserOps) GetSuperUsers(w http.ResponseWriter, r *http.Request)
- func (ops UserOps) GetUser(w http.ResponseWriter, r *http.Request)
- func (ops UserOps) RemoveParticipantUser(w http.ResponseWriter, r *http.Request)
- func (ops UserOps) RemoveSuperUser(w http.ResponseWriter, r *http.Request)
- func (ops UserOps) UpdateParticipantUser(w http.ResponseWriter, r *http.Request)
- func (ops UserOps) UpdateSuperUser(w http.ResponseWriter, r *http.Request)
- type WhitelistOps
- func (ops WhitelistOps) AddWhitelistRequest(w http.ResponseWriter, r *http.Request)
- func (ops WhitelistOps) GetWhitelistRequests(w http.ResponseWriter, r *http.Request)
- func (ops WhitelistOps) RemoveWhitelistRequest(w http.ResponseWriter, r *http.Request)
- func (ops WhitelistOps) UpdateWhitelistRequest(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToDb ¶
func StatusCheck ¶
func StatusCheck(w http.ResponseWriter, r *http.Request)
Types ¶
type AccountOps ¶
type AccountOps struct {
// contains filtered or unexported fields
}
func CreateAccountOps ¶
func CreateAccountOps(dbClient *database.MongoClient, dbName string, collName string, dbTimeout time.Duration) AccountOps
func (AccountOps) AddAccountRequest ¶
func (ops AccountOps) AddAccountRequest(w http.ResponseWriter, r *http.Request)
func (AccountOps) GetAccountRequests ¶
func (ops AccountOps) GetAccountRequests(w http.ResponseWriter, r *http.Request)
func (AccountOps) RemoveAccountRequest ¶
func (ops AccountOps) RemoveAccountRequest(w http.ResponseWriter, r *http.Request)
func (AccountOps) UpdateAccountRequest ¶
func (ops AccountOps) UpdateAccountRequest(w http.ResponseWriter, r *http.Request)
type AssetOps ¶
type AssetOps struct {
// contains filtered or unexported fields
}
func CreateAssetOps ¶
func (AssetOps) AddAssetRequest ¶
func (ops AssetOps) AddAssetRequest(w http.ResponseWriter, r *http.Request)
func (AssetOps) GetAssetRequests ¶
func (ops AssetOps) GetAssetRequests(w http.ResponseWriter, r *http.Request)
func (AssetOps) RemoveAssetRequest ¶
func (ops AssetOps) RemoveAssetRequest(w http.ResponseWriter, r *http.Request)
func (AssetOps) UpdateAssetRequest ¶
func (ops AssetOps) UpdateAssetRequest(w http.ResponseWriter, r *http.Request)
type BlocklistOps ¶
type BlocklistOps struct {
// contains filtered or unexported fields
}
func CreateBlocklistOps ¶
func CreateBlocklistOps(dbClient *database.MongoClient, dbName string, collName string, dbTimeout time.Duration) BlocklistOps
func (BlocklistOps) AddBlocklistRequest ¶
func (ops BlocklistOps) AddBlocklistRequest(w http.ResponseWriter, r *http.Request)
func (BlocklistOps) GetBlocklistRequests ¶
func (ops BlocklistOps) GetBlocklistRequests(w http.ResponseWriter, r *http.Request)
func (BlocklistOps) RemoveBlocklistRequest ¶
func (ops BlocklistOps) RemoveBlocklistRequest(w http.ResponseWriter, r *http.Request)
type InstitutionOps ¶
type InstitutionOps struct {
// contains filtered or unexported fields
}
func CreateInstitutionOps ¶
func CreateInstitutionOps(dbClient *database.MongoClient, dbName string, institutionCollName string, permissionCollName string, dbTimeout time.Duration) InstitutionOps
func (InstitutionOps) AddInstitution ¶
func (ops InstitutionOps) AddInstitution(w http.ResponseWriter, r *http.Request)
func (InstitutionOps) GetInstitution ¶
func (ops InstitutionOps) GetInstitution(w http.ResponseWriter, r *http.Request)
func (InstitutionOps) GetInstitutions ¶
func (ops InstitutionOps) GetInstitutions(w http.ResponseWriter, r *http.Request)
func (InstitutionOps) RemoveInstitution ¶
func (ops InstitutionOps) RemoveInstitution(w http.ResponseWriter, r *http.Request)
func (InstitutionOps) UpdateInstitution ¶
func (ops InstitutionOps) UpdateInstitution(w http.ResponseWriter, r *http.Request)
type JwtOps ¶
type JwtOps struct {
// contains filtered or unexported fields
}
func CreateJwtOps ¶
func (JwtOps) GetJwtInfo ¶
func (ops JwtOps) GetJwtInfo(w http.ResponseWriter, r *http.Request)
type KillswitchOps ¶
type KillswitchOps struct {
// contains filtered or unexported fields
}
func CreateKillswitchOps ¶
func CreateKillswitchOps(dbClient *database.MongoClient, dbName string, collName string, dbTimeout time.Duration) KillswitchOps
func (KillswitchOps) AddKillswitchRequest ¶
func (ops KillswitchOps) AddKillswitchRequest(w http.ResponseWriter, r *http.Request)
func (KillswitchOps) GetKillswitchRequest ¶
func (ops KillswitchOps) GetKillswitchRequest(w http.ResponseWriter, r *http.Request)
func (KillswitchOps) RemoveKillswitchRequest ¶
func (ops KillswitchOps) RemoveKillswitchRequest(w http.ResponseWriter, r *http.Request)
func (KillswitchOps) UpdateKillswitchRequest ¶
func (ops KillswitchOps) UpdateKillswitchRequest(w http.ResponseWriter, r *http.Request)
type ParticipantOps ¶
type ParticipantOps struct {
// contains filtered or unexported fields
}
func CreateParticipantOps ¶
func CreateParticipantOps(dbClient *database.MongoClient, dbName string, collName string, dbTimeout time.Duration) ParticipantOps
func (ParticipantOps) GetParticipantApproval ¶
func (ops ParticipantOps) GetParticipantApproval(w http.ResponseWriter, r *http.Request)
func (ParticipantOps) UpdateParticipantApproval ¶
func (ops ParticipantOps) UpdateParticipantApproval(w http.ResponseWriter, r *http.Request)
type SuperOps ¶
type SuperOps struct {
// contains filtered or unexported fields
}
func CreateSuperOps ¶
func (SuperOps) GetSuperApproval ¶
func (ops SuperOps) GetSuperApproval(w http.ResponseWriter, r *http.Request)
func (SuperOps) UpdateSuperApproval ¶
func (ops SuperOps) UpdateSuperApproval(w http.ResponseWriter, r *http.Request)
type TrustOps ¶
type TrustOps struct {
// contains filtered or unexported fields
}
func CreateTrustOps ¶
func (TrustOps) AddTrustRequest ¶
func (ops TrustOps) AddTrustRequest(w http.ResponseWriter, r *http.Request)
func (TrustOps) GetTrustRequests ¶
func (ops TrustOps) GetTrustRequests(w http.ResponseWriter, r *http.Request)
func (TrustOps) RemoveTrustRequest ¶
func (ops TrustOps) RemoveTrustRequest(w http.ResponseWriter, r *http.Request)
func (TrustOps) UpdateTrustRequest ¶
func (ops TrustOps) UpdateTrustRequest(w http.ResponseWriter, r *http.Request)
type TxOps ¶
type TxOps struct {
// contains filtered or unexported fields
}
func CreateTxOps ¶
func (TxOps) GetTransactions ¶
func (ops TxOps) GetTransactions(w http.ResponseWriter, r *http.Request)
type UserOps ¶
type UserOps struct {
// contains filtered or unexported fields
}
func CreateUserOps ¶
func (UserOps) GetParticipantUsers ¶
func (ops UserOps) GetParticipantUsers(w http.ResponseWriter, r *http.Request)
func (UserOps) GetSuperUsers ¶
func (ops UserOps) GetSuperUsers(w http.ResponseWriter, r *http.Request)
func (UserOps) RemoveParticipantUser ¶
func (ops UserOps) RemoveParticipantUser(w http.ResponseWriter, r *http.Request)
func (UserOps) RemoveSuperUser ¶
func (ops UserOps) RemoveSuperUser(w http.ResponseWriter, r *http.Request)
func (UserOps) UpdateParticipantUser ¶
func (ops UserOps) UpdateParticipantUser(w http.ResponseWriter, r *http.Request)
func (UserOps) UpdateSuperUser ¶
func (ops UserOps) UpdateSuperUser(w http.ResponseWriter, r *http.Request)
type WhitelistOps ¶
type WhitelistOps struct {
// contains filtered or unexported fields
}
func CreateWhitelistOps ¶
func CreateWhitelistOps(dbClient *database.MongoClient, dbName string, collName string, dbTimeout time.Duration) WhitelistOps
func (WhitelistOps) AddWhitelistRequest ¶
func (ops WhitelistOps) AddWhitelistRequest(w http.ResponseWriter, r *http.Request)
func (WhitelistOps) GetWhitelistRequests ¶
func (ops WhitelistOps) GetWhitelistRequests(w http.ResponseWriter, r *http.Request)
func (WhitelistOps) RemoveWhitelistRequest ¶
func (ops WhitelistOps) RemoveWhitelistRequest(w http.ResponseWriter, r *http.Request)
func (WhitelistOps) UpdateWhitelistRequest ¶
func (ops WhitelistOps) UpdateWhitelistRequest(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.