Documentation ¶
Index ¶
- Variables
- func MinInt(a, b int) int
- func MinUint64(a, b uint64) uint64
- func NewDb(settings DbSettings) (*sql.DB, error)
- func ReadJsonConfig(filename string, conf ConfigValidator) error
- func ReadYamlConfig(filename string, conf ConfigValidator) error
- type AccountInfo
- type ConfigValidator
- type DbSettings
- type GraphiteSettings
- type HeightInfo
- type WalletEntry
- type WalletKeys
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInterrupted = errors.New("interrupted")
)
Functions ¶
func ReadJsonConfig ¶ added in v0.1.11
func ReadJsonConfig(filename string, conf ConfigValidator) error
func ReadYamlConfig ¶ added in v0.1.11
func ReadYamlConfig(filename string, conf ConfigValidator) error
Types ¶
type AccountInfo ¶
type AccountInfo struct { Keys WalletKeys CreatedAt uint64 }
type ConfigValidator ¶
type ConfigValidator interface {
Validate() error
}
type DbSettings ¶
type GraphiteSettings ¶ added in v0.1.11
func (*GraphiteSettings) Validate ¶ added in v0.1.11
func (g *GraphiteSettings) Validate() error
type HeightInfo ¶
type HeightInfo struct { Height uint64 Hash moneroutil.Hash }
type WalletEntry ¶
type WalletEntry struct { Id uint32 Keys WalletKeys ScannedHeight uint64 }
type WalletKeys ¶
type WalletKeys struct { ViewSecretKey moneroutil.Key SpendPublicKey moneroutil.Key }
Click to show internal directories.
Click to hide internal directories.