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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(c *conf.Config) (s *Service)

func (*Service) Activation

func (s *Service) Activation(c context.Context, usermob string, now time.Time) (msg string, err error)

Activation

func (*Service) FlowSync

func (s *Service) FlowSync(c context.Context, u *mobile.MobileXML, ip string) (err error)

FlowSync update OrdersSync

func (*Service) InOrdersSync

func (s *Service) InOrdersSync(c context.Context, ip string, u *mobile.MobileXML, now time.Time) (err error)

InOrdersSync insert OrdersSync

func (*Service) IsMobileIP

func (s *Service) IsMobileIP(ipUint uint32, ipStr, usermob string) (res *mobile.MobileUserIP)

IsMobileIP is mobile ip

func (*Service) MobileState

func (s *Service) MobileState(c context.Context, usermob string, now time.Time) (res *mobile.Mobile)

Activation

func (*Service) UserMobileState

func (s *Service) UserMobileState(c context.Context, usermob string, now time.Time) (res *mobile.Mobile)

UserFlowState

Jump to

Keyboard shortcuts

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