consumerRouters

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerInteractor

type ConsumerInteractor struct {
	ConsumerInterface repositories.ConsumerUsecase
}

type ConsumerServer

type ConsumerServer struct {
	Cfg                *config.ServiceConfig
	ConsumerInteractor *ConsumerInteractor
}

func New

func New(this *ConsumerServer) *ConsumerServer

func (*ConsumerServer) Payment

func (consume *ConsumerServer) Payment(ctx context.Context, msg *pubsub.Message) (interface{}, error)

func (*ConsumerServer) Register

func (consume *ConsumerServer) Register() map[string][]func(context.Context, *pubsub.Message) (interface{}, error)

Jump to

Keyboard shortcuts

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