Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCache ¶
type AccountCache interface { // AddressGet 获取地址 AddressGet(ctx context.Context, currency string) (address, id string, err error) // AddressInset 插入地址池 AddressInset(ctx context.Context, addrS []*entity.EntityAddressPrivate) (err error) // AddressGetTotal 获取地址池数量 AddressGetTotal(ctx context.Context, currency string) (total int64, err error) // AddressIsItOurs 是否监听地址 AddressIsItOurs(ctx context.Context, addr string) (isItOurs bool, err error) }
func NewWalletCache ¶
func NewWalletCache(ctx context.Context, redis *redis.Client) AccountCache
Click to show internal directories.
Click to hide internal directories.