Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2020 Changes in this version + type UnimplementedSwapServer struct + func (*UnimplementedSwapServer) PrepareSwap(ctx context.Context, req *PrepareSwapRequest) (*PrepareSwapResult, error) v1.0.0 Feb 16, 2020 Changes in this version + func RegisterSwapServer(s *grpc.Server, srv SwapServer) + type PrepareSwapRequest struct + DestinationAddress string + UserAddress string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PrepareSwapRequest) Descriptor() ([]byte, []int) + func (*PrepareSwapRequest) ProtoMessage() + func (dst *PrepareSwapRequest) XXX_Merge(src proto.Message) + func (m *PrepareSwapRequest) GetDestinationAddress() string + func (m *PrepareSwapRequest) GetUserAddress() string + func (m *PrepareSwapRequest) Reset() + func (m *PrepareSwapRequest) String() string + func (m *PrepareSwapRequest) XXX_DiscardUnknown() + func (m *PrepareSwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PrepareSwapRequest) XXX_Size() int + func (m *PrepareSwapRequest) XXX_Unmarshal(b []byte) error + type PrepareSwapResult struct + SwapAddress string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PrepareSwapResult) Descriptor() ([]byte, []int) + func (*PrepareSwapResult) ProtoMessage() + func (dst *PrepareSwapResult) XXX_Merge(src proto.Message) + func (m *PrepareSwapResult) GetSwapAddress() string + func (m *PrepareSwapResult) Reset() + func (m *PrepareSwapResult) String() string + func (m *PrepareSwapResult) XXX_DiscardUnknown() + func (m *PrepareSwapResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PrepareSwapResult) XXX_Size() int + func (m *PrepareSwapResult) XXX_Unmarshal(b []byte) error + type SwapClient interface + PrepareSwap func(ctx context.Context, in *PrepareSwapRequest, opts ...grpc.CallOption) (*PrepareSwapResult, error) + func NewSwapClient(cc *grpc.ClientConn) SwapClient + type SwapServer interface + PrepareSwap func(context.Context, *PrepareSwapRequest) (*PrepareSwapResult, error)