Documentation ¶
Index ¶
- func GetFileRepository(opts options.Configuration) repository.Account
- func GetMemoryRepository() repository.Account
- type MemoryAccountRepository
- func (mar MemoryAccountRepository) GetKindleId() uint64
- func (mar MemoryAccountRepository) GetLogin() string
- func (mar MemoryAccountRepository) GetPassword() string
- func (mar *MemoryAccountRepository) SaveKindleId(id uint64)
- func (mar *MemoryAccountRepository) SaveLogin(login string)
- func (mar *MemoryAccountRepository) SavePassword(password string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileRepository ¶
func GetFileRepository(opts options.Configuration) repository.Account
func GetMemoryRepository ¶
func GetMemoryRepository() repository.Account
Types ¶
type MemoryAccountRepository ¶
func (MemoryAccountRepository) GetKindleId ¶
func (mar MemoryAccountRepository) GetKindleId() uint64
func (MemoryAccountRepository) GetLogin ¶
func (mar MemoryAccountRepository) GetLogin() string
func (MemoryAccountRepository) GetPassword ¶
func (mar MemoryAccountRepository) GetPassword() string
func (*MemoryAccountRepository) SaveKindleId ¶
func (mar *MemoryAccountRepository) SaveKindleId(id uint64)
func (*MemoryAccountRepository) SaveLogin ¶
func (mar *MemoryAccountRepository) SaveLogin(login string)
func (*MemoryAccountRepository) SavePassword ¶
func (mar *MemoryAccountRepository) SavePassword(password string)
Click to show internal directories.
Click to hide internal directories.