pay

package
v0.0.0-...-4083a1e Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitClient

func InitClient(dstService string, opts ...client.Option)

func Notify

func Notify(ctx context.Context, request *pay.NotifyReq, callOptions ...callopt.Option) (resp *pay.NilResponse, err error)

Types

type RPCClient

type RPCClient interface {
	KitexClient() payservice.Client
	Service() string
	Notify(ctx context.Context, request *pay.NotifyReq, callOptions ...callopt.Option) (resp *pay.NilResponse, err error)
}

func DefaultClient

func DefaultClient() RPCClient

func NewRPCClient

func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, error)

Jump to

Keyboard shortcuts

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