orderclient

package
v0.0.0-...-2304a10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest = order.CreateRequest

type CreateResponse

type CreateResponse = order.CreateResponse

type DetailRequest

type DetailRequest = order.DetailRequest

type DetailResponse

type DetailResponse = order.DetailResponse

type ListRequest

type ListRequest = order.ListRequest

type ListResponse

type ListResponse = order.ListResponse

type Order

type Order interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error)
	Detail(ctx context.Context, in *DetailRequest, opts ...grpc.CallOption) (*DetailResponse, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Paid(ctx context.Context, in *PaidRequest, opts ...grpc.CallOption) (*PaidResponse, error)
}

func NewOrder

func NewOrder(cli zrpc.Client) Order

type PaidRequest

type PaidRequest = order.PaidRequest

type PaidResponse

type PaidResponse = order.PaidResponse

type RemoveRequest

type RemoveRequest = order.RemoveRequest

type RemoveResponse

type RemoveResponse = order.RemoveResponse

type UpdateRequest

type UpdateRequest = order.UpdateRequest

type UpdateResponse

type UpdateResponse = order.UpdateResponse

Jump to

Keyboard shortcuts

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