Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Order ¶
type Repository ¶
type Repository interface { Get(ctx context.Context, id uint64) (*model.AccountSocial, error) FetchList(ctx context.Context, filter *Filter, order *Order, pagination *repository.Pagination) ([]*model.AccountSocial, error) Count(ctx context.Context, filter *Filter) (int64, error) Disconnect(ctx context.Context, id uint64) error FetchSessionList(ctx context.Context, socialAccountID []uint64) ([]*model.AccountSocialSession, error) }
type Usecase ¶
type Usecase interface { Get(ctx context.Context, id uint64) (*model.AccountSocial, error) FetchList(ctx context.Context, filter *Filter, order *Order, page *repository.Pagination) ([]*model.AccountSocial, error) Count(ctx context.Context, filter *Filter) (int64, error) Disconnect(ctx context.Context, id uint64) (*model.AccountSocial, error) FetchSessionList(ctx context.Context, socialAccountID []uint64) ([]*model.AccountSocialSession, error) }
Click to show internal directories.
Click to hide internal directories.