Documentation ¶
Index ¶
- func RegisterFundServer(s *grpc.Server, srv FundServer)
- type CommonResponse
- func (*CommonResponse) Descriptor() ([]byte, []int)
- func (m *CommonResponse) GetResponse() string
- func (*CommonResponse) ProtoMessage()
- func (m *CommonResponse) Reset()
- func (m *CommonResponse) String() string
- func (m *CommonResponse) XXX_DiscardUnknown()
- func (m *CommonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonResponse) XXX_Merge(src proto.Message)
- func (m *CommonResponse) XXX_Size() int
- func (m *CommonResponse) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type FundClient
- type FundServer
- type JXRequest
- func (*JXRequest) Descriptor() ([]byte, []int)
- func (m *JXRequest) GetAmount() uint64
- func (m *JXRequest) GetDispenseType() string
- func (*JXRequest) ProtoMessage()
- func (m *JXRequest) Reset()
- func (m *JXRequest) String() string
- func (m *JXRequest) XXX_DiscardUnknown()
- func (m *JXRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JXRequest) XXX_Merge(src proto.Message)
- func (m *JXRequest) XXX_Size() int
- func (m *JXRequest) XXX_Unmarshal(b []byte) error
- type TransferFunds
- func (*TransferFunds) Descriptor() ([]byte, []int)
- func (m *TransferFunds) GetCashableMoneyInCents() uint64
- func (m *TransferFunds) GetNonRestrictedMoneyInCents() uint64
- func (m *TransferFunds) GetRestrictedMoneyInCents() uint64
- func (*TransferFunds) ProtoMessage()
- func (m *TransferFunds) Reset()
- func (m *TransferFunds) String() string
- func (m *TransferFunds) XXX_DiscardUnknown()
- func (m *TransferFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferFunds) XXX_Merge(src proto.Message)
- func (m *TransferFunds) XXX_Size() int
- func (m *TransferFunds) XXX_Unmarshal(b []byte) error
- type UnimplementedFundServer
- func (*UnimplementedFundServer) DisableEGM(ctx context.Context, req *Empty) (*CommonResponse, error)
- func (*UnimplementedFundServer) EnableEGM(ctx context.Context, req *Empty) (*CommonResponse, error)
- func (*UnimplementedFundServer) Load(ctx context.Context, req *TransferFunds) (*CommonResponse, error)
- func (*UnimplementedFundServer) UnLoad(ctx context.Context, req *Empty) (*CommonResponse, error)
- func (*UnimplementedFundServer) UpdateJx(ctx context.Context, req *JXRequest) (*CommonResponse, error)
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) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
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 ¶
type FundServer interface { DisableEGM(context.Context, *Empty) (*CommonResponse, error) EnableEGM(context.Context, *Empty) (*CommonResponse, error) Load(context.Context, *TransferFunds) (*CommonResponse, error) UnLoad(context.Context, *Empty) (*CommonResponse, error) UpdateJx(context.Context, *JXRequest) (*CommonResponse, error) }
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) GetDispenseType ¶
func (*JXRequest) ProtoMessage ¶
func (*JXRequest) ProtoMessage()
func (*JXRequest) XXX_DiscardUnknown ¶
func (m *JXRequest) XXX_DiscardUnknown()
func (*JXRequest) XXX_Marshal ¶
func (*JXRequest) XXX_Unmarshal ¶
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) EnableEGM(ctx context.Context, req *Empty) (*CommonResponse, error)
func (*UnimplementedFundServer) Load ¶
func (*UnimplementedFundServer) Load(ctx context.Context, req *TransferFunds) (*CommonResponse, error)
func (*UnimplementedFundServer) UnLoad ¶
func (*UnimplementedFundServer) UnLoad(ctx context.Context, req *Empty) (*CommonResponse, error)
func (*UnimplementedFundServer) UpdateJx ¶
func (*UnimplementedFundServer) UpdateJx(ctx context.Context, req *JXRequest) (*CommonResponse, error)
Click to show internal directories.
Click to hide internal directories.