proto

package
v0.0.0-...-51feabd Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFundServer

func RegisterFundServer(s *grpc.Server, srv FundServer)

Types

type CommonResponse

type CommonResponse struct {
	Response             string   `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CommonResponse) Descriptor

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

func (*CommonResponse) GetResponse

func (m *CommonResponse) GetResponse() string

func (*CommonResponse) ProtoMessage

func (*CommonResponse) ProtoMessage()

func (*CommonResponse) Reset

func (m *CommonResponse) Reset()

func (*CommonResponse) String

func (m *CommonResponse) String() string

func (*CommonResponse) XXX_DiscardUnknown

func (m *CommonResponse) XXX_DiscardUnknown()

func (*CommonResponse) XXX_Marshal

func (m *CommonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommonResponse) XXX_Merge

func (m *CommonResponse) XXX_Merge(src proto.Message)

func (*CommonResponse) XXX_Size

func (m *CommonResponse) XXX_Size() int

func (*CommonResponse) XXX_Unmarshal

func (m *CommonResponse) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type FundClient

type FundClient interface {
	DisableEGM(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CommonResponse, error)
	EnableEGM(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CommonResponse, error)
	Load(ctx context.Context, in *TransferFunds, opts ...grpc.CallOption) (*CommonResponse, error)
	UnLoad(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CommonResponse, error)
	UpdateJx(ctx context.Context, in *JXRequest, opts ...grpc.CallOption) (*CommonResponse, error)
}

FundClient is the client API for Fund service.

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

func NewFundClient

func NewFundClient(cc *grpc.ClientConn) FundClient

type FundServer

FundServer is the server API for Fund service.

type JXRequest

type JXRequest struct {
	DispenseType         string   `protobuf:"bytes,1,opt,name=dispenseType,proto3" json:"dispenseType,omitempty"`
	Amount               uint64   `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JXRequest) Descriptor

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

func (*JXRequest) GetAmount

func (m *JXRequest) GetAmount() uint64

func (*JXRequest) GetDispenseType

func (m *JXRequest) GetDispenseType() string

func (*JXRequest) ProtoMessage

func (*JXRequest) ProtoMessage()

func (*JXRequest) Reset

func (m *JXRequest) Reset()

func (*JXRequest) String

func (m *JXRequest) String() string

func (*JXRequest) XXX_DiscardUnknown

func (m *JXRequest) XXX_DiscardUnknown()

func (*JXRequest) XXX_Marshal

func (m *JXRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JXRequest) XXX_Merge

func (m *JXRequest) XXX_Merge(src proto.Message)

func (*JXRequest) XXX_Size

func (m *JXRequest) XXX_Size() int

func (*JXRequest) XXX_Unmarshal

func (m *JXRequest) XXX_Unmarshal(b []byte) error

type TransferFunds

type TransferFunds struct {
	CashableMoneyInCents      uint64   `protobuf:"varint,1,opt,name=cashableMoneyInCents,proto3" json:"cashableMoneyInCents,omitempty"`
	RestrictedMoneyInCents    uint64   `protobuf:"varint,2,opt,name=restrictedMoneyInCents,proto3" json:"restrictedMoneyInCents,omitempty"`
	NonRestrictedMoneyInCents uint64   `protobuf:"varint,3,opt,name=nonRestrictedMoneyInCents,proto3" json:"nonRestrictedMoneyInCents,omitempty"`
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*TransferFunds) Descriptor

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

func (*TransferFunds) GetCashableMoneyInCents

func (m *TransferFunds) GetCashableMoneyInCents() uint64

func (*TransferFunds) GetNonRestrictedMoneyInCents

func (m *TransferFunds) GetNonRestrictedMoneyInCents() uint64

func (*TransferFunds) GetRestrictedMoneyInCents

func (m *TransferFunds) GetRestrictedMoneyInCents() uint64

func (*TransferFunds) ProtoMessage

func (*TransferFunds) ProtoMessage()

func (*TransferFunds) Reset

func (m *TransferFunds) Reset()

func (*TransferFunds) String

func (m *TransferFunds) String() string

func (*TransferFunds) XXX_DiscardUnknown

func (m *TransferFunds) XXX_DiscardUnknown()

func (*TransferFunds) XXX_Marshal

func (m *TransferFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferFunds) XXX_Merge

func (m *TransferFunds) XXX_Merge(src proto.Message)

func (*TransferFunds) XXX_Size

func (m *TransferFunds) XXX_Size() int

func (*TransferFunds) XXX_Unmarshal

func (m *TransferFunds) XXX_Unmarshal(b []byte) error

type UnimplementedFundServer

type UnimplementedFundServer struct {
}

UnimplementedFundServer can be embedded to have forward compatible implementations.

func (*UnimplementedFundServer) DisableEGM

func (*UnimplementedFundServer) DisableEGM(ctx context.Context, req *Empty) (*CommonResponse, error)

func (*UnimplementedFundServer) EnableEGM

func (*UnimplementedFundServer) Load

func (*UnimplementedFundServer) UnLoad

func (*UnimplementedFundServer) UpdateJx

Jump to

Keyboard shortcuts

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