service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 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 OrderMsg

type OrderMsg struct {
	Id      int64  `json:"id"`
	Tid     int64  `json:"tid"`
	Cid     int64  `json:"cid"`
	Sid     int64  `json:"sid"`
	OrderSn string `json:"order_sn"`
}

type OrderService

type OrderService struct {
	*Service
}

func NewOrderService

func NewOrderService(ctx context.Context) *OrderService

func (*OrderService) TestProducerMq

func (s *OrderService) TestProducerMq(ctx context.Context, opt ...string) error

type Service

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

func NewService

func NewService(ctx context.Context) *Service

func (*Service) GetOrderService

func (s *Service) GetOrderService() *OrderService

func (*Service) GetService

func (s *Service) GetService() *Service

GetService 返回Service实例

Jump to

Keyboard shortcuts

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