repository

package
v0.0.0-...-05dbd35 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FcmTokenRepo

type FcmTokenRepo struct {
	DB *gorm.DB
}

Repository for SQL operations

func (*FcmTokenRepo) AddOrUpdateToken

func (repo *FcmTokenRepo) AddOrUpdateToken(token string, account string) error

func (*FcmTokenRepo) CreateMockTokens

func (repo *FcmTokenRepo) CreateMockTokens() error

func (*FcmTokenRepo) DeleteFcmToken

func (repo *FcmTokenRepo) DeleteFcmToken(token string) error

func (*FcmTokenRepo) GetTokensForAccount

func (repo *FcmTokenRepo) GetTokensForAccount(account string) ([]dbmodels.FcmToken, error)

Jump to

Keyboard shortcuts

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