kfc

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: 7 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
}

Service struct

func New

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

New Service

func (*Service) Close

func (s *Service) Close()

Close service

func (*Service) DeliverKfc

func (s *Service) DeliverKfc(c context.Context, id, mid int64) (err error)

DeliverKfc .

func (*Service) KfcInfo

func (s *Service) KfcInfo(c context.Context, id, mid int64) (kfcInfo *kfcmdl.BnjKfcCoupon, err error)

KfcInfo .

func (*Service) KfcUse

func (s *Service) KfcUse(c context.Context, code string) (kfcID int64, err error)

KfcUse .

Jump to

Keyboard shortcuts

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