ap

package
v0.0.0-...-daf8b82 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func (*Application) AddBank

func (app *Application) AddBank(bank Bank)

func (*Application) InitHttp

func (app *Application) InitHttp(listen string) error

func (*Application) SetNotifyUrl

func (app *Application) SetNotifyUrl(url string)

type Bank

type Bank struct {
	Target   string
	Port     string
	Protocol string
}

type SagaApplication

type SagaApplication struct {
	Application
	// contains filtered or unexported fields
}

func (*SagaApplication) InitTcClient

func (app *SagaApplication) InitTcClient(tcDomain string) (err error)

func (*SagaApplication) Pay

type TccApplication

type TccApplication struct {
	Application
	// contains filtered or unexported fields
}

func (*TccApplication) InitTcClient

func (app *TccApplication) InitTcClient(tcDomain string) (err error)

func (*TccApplication) Transfer

func (app *TccApplication) Transfer(users []*tcc_rm.BankAccountRecord) (*pb.TccResponse, error)

Jump to

Keyboard shortcuts

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