Documentation ¶
Index ¶
- func RegisterLachesisServer(s *grpc.Server, srv LachesisServer)
- func RegisterNodeServer(s *grpc.Server, srv NodeServer)
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)
- func (m *Balance) GetAmount() uint64
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) String() string
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type ID
- func (*ID) Descriptor() ([]byte, []int)
- func (m *ID) GetHex() string
- func (*ID) ProtoMessage()
- func (m *ID) Reset()
- func (m *ID) String() string
- func (m *ID) XXX_DiscardUnknown()
- func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ID) XXX_Merge(src proto.Message)
- func (m *ID) XXX_Size() int
- func (m *ID) XXX_Unmarshal(b []byte) error
- type LachesisClient
- type LachesisServer
- type Lachesis_ConnectClient
- type Lachesis_ConnectServer
- type LogLevel
- func (*LogLevel) Descriptor() ([]byte, []int)
- func (m *LogLevel) GetLevel() string
- func (*LogLevel) ProtoMessage()
- func (m *LogLevel) Reset()
- func (m *LogLevel) String() string
- func (m *LogLevel) XXX_DiscardUnknown()
- func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogLevel) XXX_Merge(src proto.Message)
- func (m *LogLevel) XXX_Size() int
- func (m *LogLevel) XXX_Unmarshal(b []byte) error
- type NodeClient
- type NodeServer
- type ToClient
- func (*ToClient) Descriptor() ([]byte, []int)
- func (m *ToClient) GetBlock() *ToClient_Block
- func (m *ToClient) GetEvent() isToClient_Event
- func (m *ToClient) GetQuery() *ToClient_Query
- func (m *ToClient) GetRestore() *ToClient_Restore
- func (*ToClient) ProtoMessage()
- func (m *ToClient) Reset()
- func (m *ToClient) String() string
- func (m *ToClient) XXX_DiscardUnknown()
- func (m *ToClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToClient) XXX_Merge(src proto.Message)
- func (*ToClient) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ToClient) XXX_Size() int
- func (m *ToClient) XXX_Unmarshal(b []byte) error
- type ToClient_Block
- func (*ToClient_Block) Descriptor() ([]byte, []int)
- func (m *ToClient_Block) GetData() []byte
- func (m *ToClient_Block) GetUid() []byte
- func (*ToClient_Block) ProtoMessage()
- func (m *ToClient_Block) Reset()
- func (m *ToClient_Block) String() string
- func (m *ToClient_Block) XXX_DiscardUnknown()
- func (m *ToClient_Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToClient_Block) XXX_Merge(src proto.Message)
- func (m *ToClient_Block) XXX_Size() int
- func (m *ToClient_Block) XXX_Unmarshal(b []byte) error
- type ToClient_Block_
- type ToClient_Query
- func (*ToClient_Query) Descriptor() ([]byte, []int)
- func (m *ToClient_Query) GetIndex() int64
- func (m *ToClient_Query) GetUid() []byte
- func (*ToClient_Query) ProtoMessage()
- func (m *ToClient_Query) Reset()
- func (m *ToClient_Query) String() string
- func (m *ToClient_Query) XXX_DiscardUnknown()
- func (m *ToClient_Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToClient_Query) XXX_Merge(src proto.Message)
- func (m *ToClient_Query) XXX_Size() int
- func (m *ToClient_Query) XXX_Unmarshal(b []byte) error
- type ToClient_Query_
- type ToClient_Restore
- func (*ToClient_Restore) Descriptor() ([]byte, []int)
- func (m *ToClient_Restore) GetData() []byte
- func (m *ToClient_Restore) GetUid() []byte
- func (*ToClient_Restore) ProtoMessage()
- func (m *ToClient_Restore) Reset()
- func (m *ToClient_Restore) String() string
- func (m *ToClient_Restore) XXX_DiscardUnknown()
- func (m *ToClient_Restore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToClient_Restore) XXX_Merge(src proto.Message)
- func (m *ToClient_Restore) XXX_Size() int
- func (m *ToClient_Restore) XXX_Unmarshal(b []byte) error
- type ToClient_Restore_
- type ToServer
- func (*ToServer) Descriptor() ([]byte, []int)
- func (m *ToServer) GetAnswer() *ToServer_Answer
- func (m *ToServer) GetEvent() isToServer_Event
- func (m *ToServer) GetTx() *ToServer_Tx
- func (*ToServer) ProtoMessage()
- func (m *ToServer) Reset()
- func (m *ToServer) String() string
- func (m *ToServer) XXX_DiscardUnknown()
- func (m *ToServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToServer) XXX_Merge(src proto.Message)
- func (*ToServer) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ToServer) XXX_Size() int
- func (m *ToServer) XXX_Unmarshal(b []byte) error
- type ToServer_Answer
- func (*ToServer_Answer) Descriptor() ([]byte, []int)
- func (m *ToServer_Answer) GetData() []byte
- func (m *ToServer_Answer) GetError() string
- func (m *ToServer_Answer) GetPayload() isToServer_Answer_Payload
- func (m *ToServer_Answer) GetUid() []byte
- func (*ToServer_Answer) ProtoMessage()
- func (m *ToServer_Answer) Reset()
- func (m *ToServer_Answer) String() string
- func (m *ToServer_Answer) XXX_DiscardUnknown()
- func (m *ToServer_Answer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToServer_Answer) XXX_Merge(src proto.Message)
- func (*ToServer_Answer) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ToServer_Answer) XXX_Size() int
- func (m *ToServer_Answer) XXX_Unmarshal(b []byte) error
- type ToServer_Answer_
- type ToServer_Answer_Data
- type ToServer_Answer_Error
- type ToServer_Tx
- func (*ToServer_Tx) Descriptor() ([]byte, []int)
- func (m *ToServer_Tx) GetData() []byte
- func (*ToServer_Tx) ProtoMessage()
- func (m *ToServer_Tx) Reset()
- func (m *ToServer_Tx) String() string
- func (m *ToServer_Tx) XXX_DiscardUnknown()
- func (m *ToServer_Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToServer_Tx) XXX_Merge(src proto.Message)
- func (m *ToServer_Tx) XXX_Size() int
- func (m *ToServer_Tx) XXX_Unmarshal(b []byte) error
- type ToServer_Tx_
- type TransactionRequest
- func (*TransactionRequest) Descriptor() ([]byte, []int)
- func (m *TransactionRequest) GetHex() string
- func (*TransactionRequest) ProtoMessage()
- func (m *TransactionRequest) Reset()
- func (m *TransactionRequest) String() string
- func (m *TransactionRequest) XXX_DiscardUnknown()
- func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionRequest) XXX_Merge(src proto.Message)
- func (m *TransactionRequest) XXX_Size() int
- func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
- type TransactionResponse
- func (*TransactionResponse) Descriptor() ([]byte, []int)
- func (m *TransactionResponse) GetAmount() uint64
- func (m *TransactionResponse) GetNonce() uint64
- func (m *TransactionResponse) GetReceiver() *ID
- func (m *TransactionResponse) GetUntil() uint64
- func (*TransactionResponse) ProtoMessage()
- func (m *TransactionResponse) Reset()
- func (m *TransactionResponse) String() string
- func (m *TransactionResponse) XXX_DiscardUnknown()
- func (m *TransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionResponse) XXX_Merge(src proto.Message)
- func (m *TransactionResponse) XXX_Size() int
- func (m *TransactionResponse) XXX_Unmarshal(b []byte) error
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)
- func (m *TransferRequest) GetAmount() uint64
- func (m *TransferRequest) GetNonce() uint64
- func (m *TransferRequest) GetReceiver() *ID
- func (m *TransferRequest) GetUntil() uint64
- func (*TransferRequest) ProtoMessage()
- func (m *TransferRequest) Reset()
- func (m *TransferRequest) String() string
- func (m *TransferRequest) XXX_DiscardUnknown()
- func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferRequest) XXX_Merge(src proto.Message)
- func (m *TransferRequest) XXX_Size() int
- func (m *TransferRequest) XXX_Unmarshal(b []byte) error
- type TransferResponse
- func (*TransferResponse) Descriptor() ([]byte, []int)
- func (m *TransferResponse) GetHex() string
- func (*TransferResponse) ProtoMessage()
- func (m *TransferResponse) Reset()
- func (m *TransferResponse) String() string
- func (m *TransferResponse) XXX_DiscardUnknown()
- func (m *TransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferResponse) XXX_Merge(src proto.Message)
- func (m *TransferResponse) XXX_Size() int
- func (m *TransferResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterLachesisServer ¶
func RegisterLachesisServer(s *grpc.Server, srv LachesisServer)
func RegisterNodeServer ¶
func RegisterNodeServer(s *grpc.Server, srv NodeServer)
Types ¶
type Balance ¶
type Balance struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Balance) Descriptor ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶
func (*Balance) XXX_Unmarshal ¶
type ID ¶
type ID struct { Hex string `protobuf:"bytes,1,opt,name=hex,proto3" json:"hex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ID) Descriptor ¶
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
func (*ID) XXX_DiscardUnknown ¶
func (m *ID) XXX_DiscardUnknown()
func (*ID) XXX_Unmarshal ¶
type LachesisClient ¶
type LachesisClient interface {
Connect(ctx context.Context, opts ...grpc.CallOption) (Lachesis_ConnectClient, error)
}
LachesisClient is the client API for Lachesis service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLachesisClient ¶
func NewLachesisClient(cc *grpc.ClientConn) LachesisClient
type LachesisServer ¶
type LachesisServer interface {
Connect(Lachesis_ConnectServer) error
}
LachesisServer is the server API for Lachesis service.
type Lachesis_ConnectClient ¶
type Lachesis_ConnectServer ¶
type LogLevel ¶
type LogLevel struct { Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogLevel) Descriptor ¶
func (*LogLevel) ProtoMessage ¶
func (*LogLevel) ProtoMessage()
func (*LogLevel) XXX_DiscardUnknown ¶
func (m *LogLevel) XXX_DiscardUnknown()
func (*LogLevel) XXX_Marshal ¶
func (*LogLevel) XXX_Unmarshal ¶
type NodeClient ¶
type NodeClient interface { SelfID(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ID, error) StakeOf(ctx context.Context, in *ID, opts ...grpc.CallOption) (*Balance, error) SendTo(ctx context.Context, in *TransferRequest, opts ...grpc.CallOption) (*TransferResponse, error) TransactionInfo(ctx context.Context, in *TransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*empty.Empty, error) }
NodeClient is the client API for Node service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNodeClient ¶
func NewNodeClient(cc *grpc.ClientConn) NodeClient
type NodeServer ¶
type NodeServer interface { SelfID(context.Context, *empty.Empty) (*ID, error) StakeOf(context.Context, *ID) (*Balance, error) SendTo(context.Context, *TransferRequest) (*TransferResponse, error) TransactionInfo(context.Context, *TransactionRequest) (*TransactionResponse, error) SetLogLevel(context.Context, *LogLevel) (*empty.Empty, error) }
NodeServer is the server API for Node service.
type ToClient ¶
type ToClient struct { // Types that are valid to be assigned to Event: // *ToClient_Block_ // *ToClient_Query_ // *ToClient_Restore_ Event isToClient_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToClient) Descriptor ¶
func (*ToClient) GetBlock ¶
func (m *ToClient) GetBlock() *ToClient_Block
func (*ToClient) GetQuery ¶
func (m *ToClient) GetQuery() *ToClient_Query
func (*ToClient) GetRestore ¶
func (m *ToClient) GetRestore() *ToClient_Restore
func (*ToClient) ProtoMessage ¶
func (*ToClient) ProtoMessage()
func (*ToClient) XXX_DiscardUnknown ¶
func (m *ToClient) XXX_DiscardUnknown()
func (*ToClient) XXX_Marshal ¶
func (*ToClient) XXX_OneofFuncs ¶
func (*ToClient) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ToClient) XXX_Unmarshal ¶
type ToClient_Block ¶
type ToClient_Block struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToClient_Block) Descriptor ¶
func (*ToClient_Block) Descriptor() ([]byte, []int)
func (*ToClient_Block) GetData ¶
func (m *ToClient_Block) GetData() []byte
func (*ToClient_Block) GetUid ¶
func (m *ToClient_Block) GetUid() []byte
func (*ToClient_Block) ProtoMessage ¶
func (*ToClient_Block) ProtoMessage()
func (*ToClient_Block) Reset ¶
func (m *ToClient_Block) Reset()
func (*ToClient_Block) String ¶
func (m *ToClient_Block) String() string
func (*ToClient_Block) XXX_DiscardUnknown ¶
func (m *ToClient_Block) XXX_DiscardUnknown()
func (*ToClient_Block) XXX_Marshal ¶
func (m *ToClient_Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToClient_Block) XXX_Merge ¶
func (m *ToClient_Block) XXX_Merge(src proto.Message)
func (*ToClient_Block) XXX_Size ¶
func (m *ToClient_Block) XXX_Size() int
func (*ToClient_Block) XXX_Unmarshal ¶
func (m *ToClient_Block) XXX_Unmarshal(b []byte) error
type ToClient_Block_ ¶
type ToClient_Block_ struct {
Block *ToClient_Block `protobuf:"bytes,1,opt,name=block,proto3,oneof"`
}
type ToClient_Query ¶
type ToClient_Query struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToClient_Query) Descriptor ¶
func (*ToClient_Query) Descriptor() ([]byte, []int)
func (*ToClient_Query) GetIndex ¶
func (m *ToClient_Query) GetIndex() int64
func (*ToClient_Query) GetUid ¶
func (m *ToClient_Query) GetUid() []byte
func (*ToClient_Query) ProtoMessage ¶
func (*ToClient_Query) ProtoMessage()
func (*ToClient_Query) Reset ¶
func (m *ToClient_Query) Reset()
func (*ToClient_Query) String ¶
func (m *ToClient_Query) String() string
func (*ToClient_Query) XXX_DiscardUnknown ¶
func (m *ToClient_Query) XXX_DiscardUnknown()
func (*ToClient_Query) XXX_Marshal ¶
func (m *ToClient_Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToClient_Query) XXX_Merge ¶
func (m *ToClient_Query) XXX_Merge(src proto.Message)
func (*ToClient_Query) XXX_Size ¶
func (m *ToClient_Query) XXX_Size() int
func (*ToClient_Query) XXX_Unmarshal ¶
func (m *ToClient_Query) XXX_Unmarshal(b []byte) error
type ToClient_Query_ ¶
type ToClient_Query_ struct {
Query *ToClient_Query `protobuf:"bytes,2,opt,name=query,proto3,oneof"`
}
type ToClient_Restore ¶
type ToClient_Restore struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToClient_Restore) Descriptor ¶
func (*ToClient_Restore) Descriptor() ([]byte, []int)
func (*ToClient_Restore) GetData ¶
func (m *ToClient_Restore) GetData() []byte
func (*ToClient_Restore) GetUid ¶
func (m *ToClient_Restore) GetUid() []byte
func (*ToClient_Restore) ProtoMessage ¶
func (*ToClient_Restore) ProtoMessage()
func (*ToClient_Restore) Reset ¶
func (m *ToClient_Restore) Reset()
func (*ToClient_Restore) String ¶
func (m *ToClient_Restore) String() string
func (*ToClient_Restore) XXX_DiscardUnknown ¶
func (m *ToClient_Restore) XXX_DiscardUnknown()
func (*ToClient_Restore) XXX_Marshal ¶
func (m *ToClient_Restore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToClient_Restore) XXX_Merge ¶
func (m *ToClient_Restore) XXX_Merge(src proto.Message)
func (*ToClient_Restore) XXX_Size ¶
func (m *ToClient_Restore) XXX_Size() int
func (*ToClient_Restore) XXX_Unmarshal ¶
func (m *ToClient_Restore) XXX_Unmarshal(b []byte) error
type ToClient_Restore_ ¶
type ToClient_Restore_ struct {
Restore *ToClient_Restore `protobuf:"bytes,3,opt,name=restore,proto3,oneof"`
}
type ToServer ¶
type ToServer struct { // Types that are valid to be assigned to Event: // *ToServer_Tx_ // *ToServer_Answer_ Event isToServer_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToServer) Descriptor ¶
func (*ToServer) GetAnswer ¶
func (m *ToServer) GetAnswer() *ToServer_Answer
func (*ToServer) GetTx ¶
func (m *ToServer) GetTx() *ToServer_Tx
func (*ToServer) ProtoMessage ¶
func (*ToServer) ProtoMessage()
func (*ToServer) XXX_DiscardUnknown ¶
func (m *ToServer) XXX_DiscardUnknown()
func (*ToServer) XXX_Marshal ¶
func (*ToServer) XXX_OneofFuncs ¶
func (*ToServer) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ToServer) XXX_Unmarshal ¶
type ToServer_Answer ¶
type ToServer_Answer struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` // Types that are valid to be assigned to Payload: // *ToServer_Answer_Data // *ToServer_Answer_Error Payload isToServer_Answer_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToServer_Answer) Descriptor ¶
func (*ToServer_Answer) Descriptor() ([]byte, []int)
func (*ToServer_Answer) GetData ¶
func (m *ToServer_Answer) GetData() []byte
func (*ToServer_Answer) GetError ¶
func (m *ToServer_Answer) GetError() string
func (*ToServer_Answer) GetPayload ¶
func (m *ToServer_Answer) GetPayload() isToServer_Answer_Payload
func (*ToServer_Answer) GetUid ¶
func (m *ToServer_Answer) GetUid() []byte
func (*ToServer_Answer) ProtoMessage ¶
func (*ToServer_Answer) ProtoMessage()
func (*ToServer_Answer) Reset ¶
func (m *ToServer_Answer) Reset()
func (*ToServer_Answer) String ¶
func (m *ToServer_Answer) String() string
func (*ToServer_Answer) XXX_DiscardUnknown ¶
func (m *ToServer_Answer) XXX_DiscardUnknown()
func (*ToServer_Answer) XXX_Marshal ¶
func (m *ToServer_Answer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToServer_Answer) XXX_Merge ¶
func (m *ToServer_Answer) XXX_Merge(src proto.Message)
func (*ToServer_Answer) XXX_OneofFuncs ¶
func (*ToServer_Answer) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ToServer_Answer) XXX_Size ¶
func (m *ToServer_Answer) XXX_Size() int
func (*ToServer_Answer) XXX_Unmarshal ¶
func (m *ToServer_Answer) XXX_Unmarshal(b []byte) error
type ToServer_Answer_ ¶
type ToServer_Answer_ struct {
Answer *ToServer_Answer `protobuf:"bytes,2,opt,name=answer,proto3,oneof"`
}
type ToServer_Answer_Data ¶
type ToServer_Answer_Data struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ToServer_Answer_Error ¶
type ToServer_Answer_Error struct {
Error string `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type ToServer_Tx ¶
type ToServer_Tx struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToServer_Tx) Descriptor ¶
func (*ToServer_Tx) Descriptor() ([]byte, []int)
func (*ToServer_Tx) GetData ¶
func (m *ToServer_Tx) GetData() []byte
func (*ToServer_Tx) ProtoMessage ¶
func (*ToServer_Tx) ProtoMessage()
func (*ToServer_Tx) Reset ¶
func (m *ToServer_Tx) Reset()
func (*ToServer_Tx) String ¶
func (m *ToServer_Tx) String() string
func (*ToServer_Tx) XXX_DiscardUnknown ¶
func (m *ToServer_Tx) XXX_DiscardUnknown()
func (*ToServer_Tx) XXX_Marshal ¶
func (m *ToServer_Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToServer_Tx) XXX_Merge ¶
func (m *ToServer_Tx) XXX_Merge(src proto.Message)
func (*ToServer_Tx) XXX_Size ¶
func (m *ToServer_Tx) XXX_Size() int
func (*ToServer_Tx) XXX_Unmarshal ¶
func (m *ToServer_Tx) XXX_Unmarshal(b []byte) error
type ToServer_Tx_ ¶
type ToServer_Tx_ struct {
Tx *ToServer_Tx `protobuf:"bytes,1,opt,name=tx,proto3,oneof"`
}
type TransactionRequest ¶
type TransactionRequest struct { Hex string `protobuf:"bytes,1,opt,name=hex,proto3" json:"hex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionRequest) Descriptor ¶
func (*TransactionRequest) Descriptor() ([]byte, []int)
func (*TransactionRequest) GetHex ¶
func (m *TransactionRequest) GetHex() string
func (*TransactionRequest) ProtoMessage ¶
func (*TransactionRequest) ProtoMessage()
func (*TransactionRequest) Reset ¶
func (m *TransactionRequest) Reset()
func (*TransactionRequest) String ¶
func (m *TransactionRequest) String() string
func (*TransactionRequest) XXX_DiscardUnknown ¶
func (m *TransactionRequest) XXX_DiscardUnknown()
func (*TransactionRequest) XXX_Marshal ¶
func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionRequest) XXX_Merge ¶
func (m *TransactionRequest) XXX_Merge(src proto.Message)
func (*TransactionRequest) XXX_Size ¶
func (m *TransactionRequest) XXX_Size() int
func (*TransactionRequest) XXX_Unmarshal ¶
func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
type TransactionResponse ¶
type TransactionResponse struct { Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Receiver *ID `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Until uint64 `protobuf:"varint,4,opt,name=until,proto3" json:"until,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionResponse) Descriptor ¶
func (*TransactionResponse) Descriptor() ([]byte, []int)
func (*TransactionResponse) GetAmount ¶
func (m *TransactionResponse) GetAmount() uint64
func (*TransactionResponse) GetNonce ¶
func (m *TransactionResponse) GetNonce() uint64
func (*TransactionResponse) GetReceiver ¶
func (m *TransactionResponse) GetReceiver() *ID
func (*TransactionResponse) GetUntil ¶
func (m *TransactionResponse) GetUntil() uint64
func (*TransactionResponse) ProtoMessage ¶
func (*TransactionResponse) ProtoMessage()
func (*TransactionResponse) Reset ¶
func (m *TransactionResponse) Reset()
func (*TransactionResponse) String ¶
func (m *TransactionResponse) String() string
func (*TransactionResponse) XXX_DiscardUnknown ¶
func (m *TransactionResponse) XXX_DiscardUnknown()
func (*TransactionResponse) XXX_Marshal ¶
func (m *TransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionResponse) XXX_Merge ¶
func (m *TransactionResponse) XXX_Merge(src proto.Message)
func (*TransactionResponse) XXX_Size ¶
func (m *TransactionResponse) XXX_Size() int
func (*TransactionResponse) XXX_Unmarshal ¶
func (m *TransactionResponse) XXX_Unmarshal(b []byte) error
type TransferRequest ¶
type TransferRequest struct { Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Receiver *ID `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Until uint64 `protobuf:"varint,4,opt,name=until,proto3" json:"until,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferRequest) Descriptor ¶
func (*TransferRequest) Descriptor() ([]byte, []int)
func (*TransferRequest) GetAmount ¶
func (m *TransferRequest) GetAmount() uint64
func (*TransferRequest) GetNonce ¶
func (m *TransferRequest) GetNonce() uint64
func (*TransferRequest) GetReceiver ¶
func (m *TransferRequest) GetReceiver() *ID
func (*TransferRequest) GetUntil ¶
func (m *TransferRequest) GetUntil() uint64
func (*TransferRequest) ProtoMessage ¶
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) Reset ¶
func (m *TransferRequest) Reset()
func (*TransferRequest) String ¶
func (m *TransferRequest) String() string
func (*TransferRequest) XXX_DiscardUnknown ¶
func (m *TransferRequest) XXX_DiscardUnknown()
func (*TransferRequest) XXX_Marshal ¶
func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferRequest) XXX_Merge ¶
func (m *TransferRequest) XXX_Merge(src proto.Message)
func (*TransferRequest) XXX_Size ¶
func (m *TransferRequest) XXX_Size() int
func (*TransferRequest) XXX_Unmarshal ¶
func (m *TransferRequest) XXX_Unmarshal(b []byte) error
type TransferResponse ¶
type TransferResponse struct { Hex string `protobuf:"bytes,1,opt,name=hex,proto3" json:"hex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferResponse) Descriptor ¶
func (*TransferResponse) Descriptor() ([]byte, []int)
func (*TransferResponse) GetHex ¶
func (m *TransferResponse) GetHex() string
func (*TransferResponse) ProtoMessage ¶
func (*TransferResponse) ProtoMessage()
func (*TransferResponse) Reset ¶
func (m *TransferResponse) Reset()
func (*TransferResponse) String ¶
func (m *TransferResponse) String() string
func (*TransferResponse) XXX_DiscardUnknown ¶
func (m *TransferResponse) XXX_DiscardUnknown()
func (*TransferResponse) XXX_Marshal ¶
func (m *TransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferResponse) XXX_Merge ¶
func (m *TransferResponse) XXX_Merge(src proto.Message)
func (*TransferResponse) XXX_Size ¶
func (m *TransferResponse) XXX_Size() int
func (*TransferResponse) XXX_Unmarshal ¶
func (m *TransferResponse) XXX_Unmarshal(b []byte) error