Documentation ¶
Index ¶
- type AccountsDomain
- func (d *AccountsDomain) CheckToken(ctx context.Context, userJWT string) (*model.Account, error)
- func (d *AccountsDomain) CreateTokenForAccount(account *model.Account, expiration time.Time) (string, error)
- func (d *AccountsDomain) GetAccountFromCredentials(ctx context.Context, username, password string) (*model.Account, error)
- type ArchiverDomain
- type JWTClaim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsDomain ¶
type AccountsDomain struct {
// contains filtered or unexported fields
}
func NewAccountsDomain ¶
func (*AccountsDomain) CheckToken ¶
func (*AccountsDomain) CreateTokenForAccount ¶
func (*AccountsDomain) GetAccountFromCredentials ¶
type ArchiverDomain ¶
type ArchiverDomain struct {
// contains filtered or unexported fields
}
func NewArchiverDomain ¶
func NewArchiverDomain(logger *logrus.Logger, dataDir string) ArchiverDomain
func (*ArchiverDomain) DownloadBookmarkArchive ¶
func (*ArchiverDomain) GetBookmarkArchive ¶
func (d *ArchiverDomain) GetBookmarkArchive(book model.Bookmark) error
Click to show internal directories.
Click to hide internal directories.