daos

package
v0.0.0-...-5dca3cc Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaOrderDao

type MetaOrderDao struct {
	Conn *pgx.Conn
}

func (*MetaOrderDao) Create

func (state *MetaOrderDao) Create(metaOrder models.MetaOrder) *models.MetaOrder

func (*MetaOrderDao) Detail

func (state *MetaOrderDao) Detail(id string) *models.MetaOrder

func (*MetaOrderDao) List

func (state *MetaOrderDao) List() []*models.MetaOrder

type PackageDao

type PackageDao struct {
	Conn *pgx.Conn
}

func (*PackageDao) Detail

func (state *PackageDao) Detail(id string) *models.Package

func (*PackageDao) List

func (state *PackageDao) List() []*models.Package

type PartnerDao

type PartnerDao struct {
	Conn *pgx.Conn
}

func (*PartnerDao) AddQuota

func (state *PartnerDao) AddQuota(id string, quota int64) *models.Partner

func (*PartnerDao) Detail

func (state *PartnerDao) Detail(id string) *models.Partner

Jump to

Keyboard shortcuts

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