Documentation
¶
Index ¶
- func NewAssetRepository(config ...interface{}) (domain.AssetRepository, error)
- func NewConvictionRepository(config ...interface{}) (domain.ConvictionRepository, error)
- func NewEventRepository(config ...interface{}) (domain.EventRepository, error)
- func NewSettingsRepository(config ...interface{}) (domain.SettingsRepository, error)
- func NewVtxoRepository(config ...interface{}) (domain.VtxoRepository, error)
- type ArkRepository
- type Conviction
- type IntentIndex
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAssetRepository ¶ added in v0.9.0
func NewAssetRepository(config ...interface{}) (domain.AssetRepository, error)
func NewConvictionRepository ¶ added in v0.8.0
func NewConvictionRepository(config ...interface{}) (domain.ConvictionRepository, error)
func NewEventRepository ¶
func NewEventRepository(config ...interface{}) (domain.EventRepository, error)
func NewSettingsRepository ¶ added in v0.9.9
func NewSettingsRepository(config ...interface{}) (domain.SettingsRepository, error)
func NewVtxoRepository ¶
func NewVtxoRepository(config ...interface{}) (domain.VtxoRepository, error)
Types ¶
type ArkRepository ¶
type ArkRepository interface {
domain.RoundRepository
domain.OffchainTxRepository
Store() *badgerhold.Store
}
func NewArkRepository ¶
func NewArkRepository(config ...interface{}) (ArkRepository, error)
type Conviction ¶ added in v0.8.0
type Conviction struct {
ID string `badgerhold:"key"`
Type int
CreatedAt int64
ExpiresAt *int64
CrimeType int
CrimeRoundID string
CrimeReason string
Pardoned bool
Script string
}
Conviction represents a conviction in the database
type IntentIndex ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.