push_conf_repository

package
v0.0.0-...-7f422e9 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushConfRepository

type PushConfRepository struct{}

func New

func New() *PushConfRepository

func (*PushConfRepository) CleanPushCfg

func (this *PushConfRepository) CleanPushCfg(db *gorm.DB, maps interface{}) error

物理删除

func (*PushConfRepository) CreatePushCfg

func (this *PushConfRepository) CreatePushCfg(db *gorm.DB, appPkgName, platform, confJson string) error

func (*PushConfRepository) DeletePushCfg

func (this *PushConfRepository) DeletePushCfg(db *gorm.DB, maps interface{}) error

func (*PushConfRepository) EditPushCfg

func (this *PushConfRepository) EditPushCfg(db *gorm.DB, appPkgName, platform string, data interface{}) error

func (*PushConfRepository) GetPushCfg

func (this *PushConfRepository) GetPushCfg(db *gorm.DB, maps interface{}) (*push_conf_mysql.PushCfg, error)

func (*PushConfRepository) GetPushCfgTotal

func (this *PushConfRepository) GetPushCfgTotal(db *gorm.DB, maps interface{}) (int, error)

func (*PushConfRepository) GetPushCfgs

func (this *PushConfRepository) GetPushCfgs(db *gorm.DB, pageNum, pageSize int, maps interface{}) ([]*push_conf_mysql.PushCfg, error)

Jump to

Keyboard shortcuts

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