mu_micro_book_srv_payment

package
v0.0.0-...-908d554 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPaymentHandler

func RegisterPaymentHandler(s server.Server, hdlr PaymentHandler, opts ...server.HandlerOption) error

Types

type PaymentHandler

type PaymentHandler interface {
	PayOrder(context.Context, *Request, *Response) error
}

type PaymentService

type PaymentService interface {
	PayOrder(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
}

func NewPaymentService

func NewPaymentService(name string, c client.Client) PaymentService

Jump to

Keyboard shortcuts

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