Documentation
¶
Overview ¶
Package account present full API functionality of the specific object
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
Get(ctx context.Context, id string) (*model.AuthClient, error)
FetchList(ctx context.Context, filter *Filter) ([]*model.AuthClient, error)
Count(ctx context.Context, filter *Filter) (int64, error)
Create(ctx context.Context, authClient *model.AuthClient) (string, error)
Update(ctx context.Context, id string, authClient *model.AuthClient) error
Delete(ctx context.Context, id string) error
}
Repository of access to the account
type Usecase ¶
type Usecase interface {
Get(ctx context.Context, id string) (*model.AuthClient, error)
FetchList(ctx context.Context, filter *Filter) ([]*model.AuthClient, error)
Count(ctx context.Context, filter *Filter) (int64, error)
Create(ctx context.Context, authClient *model.AuthClient) (string, error)
Update(ctx context.Context, id string, authClient *model.AuthClient) error
Delete(ctx context.Context, id string) error
}
Usecase of the AuthAclient
Directories
¶
| Path | Synopsis |
|---|---|
|
delivery
|
|
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
Package repository implements methods of working with the repository objects
|
Package repository implements methods of working with the repository objects |
|
Package usecase account implementation
|
Package usecase account implementation |
Click to show internal directories.
Click to hide internal directories.