Documentation ¶
Index ¶
- type AbiStorage
- func (s *AbiStorage) Close() error
- func (s *AbiStorage) DeleteAbiInfoByAddress(tx storage.Transaction, address string) error
- func (s *AbiStorage) EditAbiInfo(tx storage.Transaction, abiInfo *models.AbiInfo) error
- func (s *AbiStorage) GetAbiAddressesByVersion(tx storage.Transaction, version string) ([]string, error)
- func (s *AbiStorage) GetAbiInfosByVersion(tx storage.Transaction, version string) ([]*models.AbiInfo, error)
- func (s *AbiStorage) GetAbiJSON(tx storage.Transaction, address string) (string, error)
- func (s *AbiStorage) GetAbiVersion(tx storage.Transaction, address string) (string, error)
- func (s *AbiStorage) GetFullAbiInfo(tx storage.Transaction, address string) (*models.AbiInfo, error)
- func (s *AbiStorage) GetFullAbiInfoByVersionAndType(tx storage.Transaction, version, contractType string) (*models.AbiInfo, error)
- func (s *AbiStorage) Init() (err error)
- func (s *AbiStorage) SaveAbiInfo(tx storage.Transaction, abiInfo *models.AbiInfo) error
- type SettingsStorage
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbiStorage ¶
type AbiStorage struct {
*Store
}
func NewAbiStorage ¶
func NewAbiStorage(store *Store) *AbiStorage
func (*AbiStorage) Close ¶
func (s *AbiStorage) Close() error
func (*AbiStorage) DeleteAbiInfoByAddress ¶
func (s *AbiStorage) DeleteAbiInfoByAddress(tx storage.Transaction, address string) error
func (*AbiStorage) EditAbiInfo ¶
func (s *AbiStorage) EditAbiInfo(tx storage.Transaction, abiInfo *models.AbiInfo) error
func (*AbiStorage) GetAbiAddressesByVersion ¶
func (s *AbiStorage) GetAbiAddressesByVersion(tx storage.Transaction, version string) ([]string, error)
func (*AbiStorage) GetAbiInfosByVersion ¶
func (s *AbiStorage) GetAbiInfosByVersion(tx storage.Transaction, version string) ([]*models.AbiInfo, error)
func (*AbiStorage) GetAbiJSON ¶
func (s *AbiStorage) GetAbiJSON(tx storage.Transaction, address string) (string, error)
func (*AbiStorage) GetAbiVersion ¶
func (s *AbiStorage) GetAbiVersion(tx storage.Transaction, address string) (string, error)
func (*AbiStorage) GetFullAbiInfo ¶
func (s *AbiStorage) GetFullAbiInfo(tx storage.Transaction, address string) (*models.AbiInfo, error)
func (*AbiStorage) GetFullAbiInfoByVersionAndType ¶
func (s *AbiStorage) GetFullAbiInfoByVersionAndType(tx storage.Transaction, version, contractType string) (*models.AbiInfo, error)
func (*AbiStorage) Init ¶
func (s *AbiStorage) Init() (err error)
func (*AbiStorage) SaveAbiInfo ¶
func (s *AbiStorage) SaveAbiInfo(tx storage.Transaction, abiInfo *models.AbiInfo) error
type SettingsStorage ¶
type SettingsStorage struct {
*Store
}
func NewSettingsStorage ¶
func NewSettingsStorage(store *Store) *SettingsStorage
func (*SettingsStorage) GetSetting ¶
func (s *SettingsStorage) GetSetting(key string) (value string, err error)
func (*SettingsStorage) Init ¶
func (s *SettingsStorage) Init() (err error)
func (*SettingsStorage) SaveSetting ¶
func (s *SettingsStorage) SaveSetting(key, value string) (err error)
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetOriginStorage ¶
func (s *Store) GetOriginStorage() interface{}
Click to show internal directories.
Click to hide internal directories.