account

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

type MemoryAccountRepository struct {
	Login, Password string
	KindleId        uint64
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL