client

package
v0.0.0-...-f6794d1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GophKeeperService

type GophKeeperService interface {
	SetCryptoService(cs *service.CryptoService)

	SignUp(context.Context, *model.User) error
	SignIn(context.Context, *model.User) error

	SaveLogin(context.Context, *model.Login) error
	DeleteLogin(context.Context, *model.Login) error
	GetLogins(context.Context) ([]model.Login, error)

	SaveCard(context.Context, *model.Card) error
	DeleteCard(context.Context, *model.Card) error
	GetCards(context.Context) ([]model.Card, error)

	SaveFile(context.Context, *model.File) error
	DeleteFile(context.Context, *model.File) error
	GetFiles(context.Context) ([]model.File, error)
	DownloadFile(context.Context, *model.File, string) error
}

GophKeeperService описывает методы, необходимые для работы всего приложения

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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