cardspb

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cards_api_proto protoreflect.FileDescriptor
View Source
var File_cards_proto protoreflect.FileDescriptor
View Source
var File_wallet_api_proto protoreflect.FileDescriptor

Functions

func RegisterCardsServer

func RegisterCardsServer(s *grpc.Server, srv CardsServer)

func RegisterWalletServer

func RegisterWalletServer(s *grpc.Server, srv WalletServer)

Types

type AppleRequest

type AppleRequest struct {
	Fpan string `protobuf:"bytes,1,opt,name=fpan,proto3" json:"fpan,omitempty"`
	// contains filtered or unexported fields
}

func (*AppleRequest) Descriptor deprecated

func (*AppleRequest) Descriptor() ([]byte, []int)

Deprecated: Use AppleRequest.ProtoReflect.Descriptor instead.

func (*AppleRequest) GetFpan

func (x *AppleRequest) GetFpan() string

func (*AppleRequest) ProtoMessage

func (*AppleRequest) ProtoMessage()

func (*AppleRequest) ProtoReflect added in v0.81.0

func (x *AppleRequest) ProtoReflect() protoreflect.Message

func (*AppleRequest) Reset

func (x *AppleRequest) Reset()

func (*AppleRequest) String

func (x *AppleRequest) String() string

type AppleResponse

type AppleResponse struct {
	ActivationData string `protobuf:"bytes,1,opt,name=activation_data,json=activationData,proto3" json:"activation_data,omitempty"`
	// contains filtered or unexported fields
}

func (*AppleResponse) Descriptor deprecated

func (*AppleResponse) Descriptor() ([]byte, []int)

Deprecated: Use AppleResponse.ProtoReflect.Descriptor instead.

func (*AppleResponse) GetActivationData

func (x *AppleResponse) GetActivationData() string

func (*AppleResponse) ProtoMessage

func (*AppleResponse) ProtoMessage()

func (*AppleResponse) ProtoReflect added in v0.81.0

func (x *AppleResponse) ProtoReflect() protoreflect.Message

func (*AppleResponse) Reset

func (x *AppleResponse) Reset()

func (*AppleResponse) String

func (x *AppleResponse) String() string

type Card

type Card struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Card is a credit or debit card.

func (*Card) Descriptor deprecated

func (*Card) Descriptor() ([]byte, []int)

Deprecated: Use Card.ProtoReflect.Descriptor instead.

func (*Card) GetName

func (x *Card) GetName() string

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) ProtoReflect added in v0.81.0

func (x *Card) ProtoReflect() protoreflect.Message

func (*Card) Reset

func (x *Card) Reset()

func (*Card) String

func (x *Card) String() string

type CardsClient

type CardsClient interface {
	GetCards(ctx context.Context, in *GetCardsRequest, opts ...grpc.CallOption) (*GetCardsResponse, error)
}

CardsClient is the client API for Cards service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCardsClient

func NewCardsClient(cc grpc.ClientConnInterface) CardsClient

type CardsServer

type CardsServer interface {
	GetCards(context.Context, *GetCardsRequest) (*GetCardsResponse, error)
}

CardsServer is the server API for Cards service.

type GetCardsRequest

type GetCardsRequest struct {
	PersonaId string `protobuf:"bytes,1,opt,name=persona_id,json=personaId,proto3" json:"persona_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCardsRequest) Descriptor deprecated

func (*GetCardsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCardsRequest.ProtoReflect.Descriptor instead.

func (*GetCardsRequest) GetPersonaId

func (x *GetCardsRequest) GetPersonaId() string

func (*GetCardsRequest) ProtoMessage

func (*GetCardsRequest) ProtoMessage()

func (*GetCardsRequest) ProtoReflect added in v0.81.0

func (x *GetCardsRequest) ProtoReflect() protoreflect.Message

func (*GetCardsRequest) Reset

func (x *GetCardsRequest) Reset()

func (*GetCardsRequest) String

func (x *GetCardsRequest) String() string

type GetCardsResponse

type GetCardsResponse struct {
	Cards []*Card `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCardsResponse) Descriptor deprecated

func (*GetCardsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCardsResponse.ProtoReflect.Descriptor instead.

func (*GetCardsResponse) GetCards

func (x *GetCardsResponse) GetCards() []*Card

func (*GetCardsResponse) ProtoMessage

func (*GetCardsResponse) ProtoMessage()

func (*GetCardsResponse) ProtoReflect added in v0.81.0

func (x *GetCardsResponse) ProtoReflect() protoreflect.Message

func (*GetCardsResponse) Reset

func (x *GetCardsResponse) Reset()

func (*GetCardsResponse) String

func (x *GetCardsResponse) String() string

type UnimplementedCardsServer

type UnimplementedCardsServer struct {
}

UnimplementedCardsServer can be embedded to have forward compatible implementations.

func (*UnimplementedCardsServer) GetCards

type UnimplementedWalletServer

type UnimplementedWalletServer struct {
}

UnimplementedWalletServer can be embedded to have forward compatible implementations.

func (*UnimplementedWalletServer) Apple

type WalletClient

type WalletClient interface {
	Apple(ctx context.Context, in *AppleRequest, opts ...grpc.CallOption) (*AppleResponse, error)
}

WalletClient is the client API for Wallet service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewWalletClient

func NewWalletClient(cc grpc.ClientConnInterface) WalletClient

type WalletServer

type WalletServer interface {
	Apple(context.Context, *AppleRequest) (*AppleResponse, error)
}

WalletServer is the server API for Wallet service.

Jump to

Keyboard shortcuts

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