filecoin_wallet_pb

package
v0.0.0-...-be0f657 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type APIClient

type APIClient interface {
	NewWallet(ctx context.Context, in *NewWalletRequest, opts ...grpc.CallOption) (*NewWalletReply, error)
	WalletBalance(ctx context.Context, in *WalletBalanceRequest, opts ...grpc.CallOption) (*WalletBalanceReply, error)
}

APIClient is the client API for API service.

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

func NewAPIClient

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer

type APIServer interface {
	NewWallet(context.Context, *NewWalletRequest) (*NewWalletReply, error)
	WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceReply, error)
}

APIServer is the server API for API service.

type NewWalletReply

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

func (*NewWalletReply) Descriptor

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

func (*NewWalletReply) GetAddress

func (m *NewWalletReply) GetAddress() string

func (*NewWalletReply) ProtoMessage

func (*NewWalletReply) ProtoMessage()

func (*NewWalletReply) Reset

func (m *NewWalletReply) Reset()

func (*NewWalletReply) String

func (m *NewWalletReply) String() string

func (*NewWalletReply) XXX_DiscardUnknown

func (m *NewWalletReply) XXX_DiscardUnknown()

func (*NewWalletReply) XXX_Marshal

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

func (*NewWalletReply) XXX_Merge

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

func (*NewWalletReply) XXX_Size

func (m *NewWalletReply) XXX_Size() int

func (*NewWalletReply) XXX_Unmarshal

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

type NewWalletRequest

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

func (*NewWalletRequest) Descriptor

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

func (*NewWalletRequest) GetTyp

func (m *NewWalletRequest) GetTyp() string

func (*NewWalletRequest) ProtoMessage

func (*NewWalletRequest) ProtoMessage()

func (*NewWalletRequest) Reset

func (m *NewWalletRequest) Reset()

func (*NewWalletRequest) String

func (m *NewWalletRequest) String() string

func (*NewWalletRequest) XXX_DiscardUnknown

func (m *NewWalletRequest) XXX_DiscardUnknown()

func (*NewWalletRequest) XXX_Marshal

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

func (*NewWalletRequest) XXX_Merge

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

func (*NewWalletRequest) XXX_Size

func (m *NewWalletRequest) XXX_Size() int

func (*NewWalletRequest) XXX_Unmarshal

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

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) NewWallet

func (*UnimplementedAPIServer) WalletBalance

type WalletBalanceReply

type WalletBalanceReply struct {
	Balance              int64    `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WalletBalanceReply) Descriptor

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

func (*WalletBalanceReply) GetBalance

func (m *WalletBalanceReply) GetBalance() int64

func (*WalletBalanceReply) ProtoMessage

func (*WalletBalanceReply) ProtoMessage()

func (*WalletBalanceReply) Reset

func (m *WalletBalanceReply) Reset()

func (*WalletBalanceReply) String

func (m *WalletBalanceReply) String() string

func (*WalletBalanceReply) XXX_DiscardUnknown

func (m *WalletBalanceReply) XXX_DiscardUnknown()

func (*WalletBalanceReply) XXX_Marshal

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

func (*WalletBalanceReply) XXX_Merge

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

func (*WalletBalanceReply) XXX_Size

func (m *WalletBalanceReply) XXX_Size() int

func (*WalletBalanceReply) XXX_Unmarshal

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

type WalletBalanceRequest

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

func (*WalletBalanceRequest) Descriptor

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

func (*WalletBalanceRequest) GetAddress

func (m *WalletBalanceRequest) GetAddress() string

func (*WalletBalanceRequest) ProtoMessage

func (*WalletBalanceRequest) ProtoMessage()

func (*WalletBalanceRequest) Reset

func (m *WalletBalanceRequest) Reset()

func (*WalletBalanceRequest) String

func (m *WalletBalanceRequest) String() string

func (*WalletBalanceRequest) XXX_DiscardUnknown

func (m *WalletBalanceRequest) XXX_DiscardUnknown()

func (*WalletBalanceRequest) XXX_Marshal

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

func (*WalletBalanceRequest) XXX_Merge

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

func (*WalletBalanceRequest) XXX_Size

func (m *WalletBalanceRequest) XXX_Size() int

func (*WalletBalanceRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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