mobile

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	// contains filtered or unexported fields
}

func New

func New(c *conf.Config) (d *Dao)

func (*Dao) AddMobileCache

func (d *Dao) AddMobileCache(c context.Context, usermob string, m []*mobile.Mobile) (err error)

AddMobileCache

func (*Dao) DeleteMobileCache

func (d *Dao) DeleteMobileCache(c context.Context, usermob string) (err error)

DeleteMobileCache

func (*Dao) FlowSync

func (d *Dao) FlowSync(ctx context.Context, u *mobile.MobileXML) (row int64, err error)

FlowSync update OrdersSync

func (*Dao) InOrdersSync

func (d *Dao) InOrdersSync(ctx context.Context, u *mobile.MobileXML) (row int64, err error)

func (*Dao) MobileCache

func (d *Dao) MobileCache(c context.Context, usermob string) (m []*mobile.Mobile, err error)

MobileCache

func (*Dao) OrdersUserFlow

func (d *Dao) OrdersUserFlow(ctx context.Context, usermob string, now time.Time) (res map[string][]*mobile.Mobile, err error)

OrdersUserFlow select user OrdersSync

func (*Dao) UpdateMobileCache

func (d *Dao) UpdateMobileCache(c context.Context, usermob string, m *mobile.Mobile) (err error)

UpdateMobileCache

func (*Dao) UpdateMobileFlowCache

func (d *Dao) UpdateMobileFlowCache(c context.Context, usermob string, m *mobile.Mobile) (err error)

UpdateMobileFlowCache

Jump to

Keyboard shortcuts

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