repository

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	repository.Repository
}

Repository for social account

func New

func New() *Repository

New social account repository

func (*Repository) Count

func (r *Repository) Count(ctx context.Context, filter *socialaccount.Filter) (int64, error)

Count of social accounts

func (*Repository) Disconnect

func (r *Repository) Disconnect(ctx context.Context, id uint64) error

Disconnect social account by ID

func (*Repository) FetchList

func (r *Repository) FetchList(ctx context.Context, filter *socialaccount.Filter, order *socialaccount.Order, pagination *repository.Pagination) ([]*model.AccountSocial, error)

FetchList of social accounts

func (*Repository) FetchSessionList

func (r *Repository) FetchSessionList(ctx context.Context, socialAccountID []uint64) ([]*model.AccountSocialSession, error)

FetchSessionList of social account

func (*Repository) Get

Get social account by ID

Jump to

Keyboard shortcuts

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