Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeStageOneDummyData ¶
func MakeStageOneDummyData(dao *FireStoreDAO) error
func MakeStageThreeDummyData ¶
func MakeStageThreeDummyData(dao *FireStoreDAO) error
func MakeStageTwoDummyData ¶
func MakeStageTwoDummyData(dao *FireStoreDAO) error
Types ¶
type FireStoreDAO ¶
type FireStoreDAO struct {
// contains filtered or unexported fields
}
func NewFireStoreDAO ¶
func NewFireStoreDAO(client *firestore.Client) *FireStoreDAO
func (*FireStoreDAO) AddNewCertificate ¶
func (f *FireStoreDAO) AddNewCertificate(ctx context.Context, cert *models.FirebaseCertificate) error
func (*FireStoreDAO) Deinit ¶
func (f *FireStoreDAO) Deinit() error
func (*FireStoreDAO) DeleteAllCertificates ¶
func (f *FireStoreDAO) DeleteAllCertificates(ctx context.Context) error
type GlobalChainInfoDAO ¶
type GlobalChainInfoDAO struct {
// contains filtered or unexported fields
}
func NewGlobalChainInfoDAO ¶
func NewGlobalChainInfoDAO(db *gorm.DB) *GlobalChainInfoDAO
func (*GlobalChainInfoDAO) GetAllGlobalChainInfo ¶
func (g *GlobalChainInfoDAO) GetAllGlobalChainInfo(ctx context.Context) ([]*models.GlobalChainInfo, error)
type LocalCertDAO ¶
type LocalCertDAO struct {
// contains filtered or unexported fields
}
func NewLocalCertDAO ¶
func NewLocalCertDAO(db *gorm.DB) *LocalCertDAO
func (*LocalCertDAO) GetAllLocalCertificates ¶
func (l *LocalCertDAO) GetAllLocalCertificates(ctx context.Context) ([]*models.LocalCertificate, error)
Click to show internal directories.
Click to hide internal directories.