Documentation ¶
Index ¶
- Variables
- type GetSharesByNamespaceRequest
- func (*GetSharesByNamespaceRequest) Descriptor() ([]byte, []int)
- func (m *GetSharesByNamespaceRequest) GetNamespaceId() []byte
- func (m *GetSharesByNamespaceRequest) GetRootHash() []byte
- func (m *GetSharesByNamespaceRequest) Marshal() (dAtA []byte, err error)
- func (m *GetSharesByNamespaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetSharesByNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetSharesByNamespaceRequest) ProtoMessage()
- func (m *GetSharesByNamespaceRequest) Reset()
- func (m *GetSharesByNamespaceRequest) Size() (n int)
- func (m *GetSharesByNamespaceRequest) String() string
- func (m *GetSharesByNamespaceRequest) Unmarshal(dAtA []byte) error
- func (m *GetSharesByNamespaceRequest) XXX_DiscardUnknown()
- func (m *GetSharesByNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSharesByNamespaceRequest) XXX_Merge(src proto.Message)
- func (m *GetSharesByNamespaceRequest) XXX_Size() int
- func (m *GetSharesByNamespaceRequest) XXX_Unmarshal(b []byte) error
- type GetSharesByNamespaceResponse
- func (*GetSharesByNamespaceResponse) Descriptor() ([]byte, []int)
- func (m *GetSharesByNamespaceResponse) GetRows() []*Row
- func (m *GetSharesByNamespaceResponse) GetStatus() StatusCode
- func (m *GetSharesByNamespaceResponse) Marshal() (dAtA []byte, err error)
- func (m *GetSharesByNamespaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetSharesByNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetSharesByNamespaceResponse) ProtoMessage()
- func (m *GetSharesByNamespaceResponse) Reset()
- func (m *GetSharesByNamespaceResponse) Size() (n int)
- func (m *GetSharesByNamespaceResponse) String() string
- func (m *GetSharesByNamespaceResponse) Unmarshal(dAtA []byte) error
- func (m *GetSharesByNamespaceResponse) XXX_DiscardUnknown()
- func (m *GetSharesByNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSharesByNamespaceResponse) XXX_Merge(src proto.Message)
- func (m *GetSharesByNamespaceResponse) XXX_Size() int
- func (m *GetSharesByNamespaceResponse) XXX_Unmarshal(b []byte) error
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)
- func (m *Proof) GetEnd() int64
- func (m *Proof) GetNodes() [][]byte
- func (m *Proof) GetStart() int64
- func (m *Proof) Marshal() (dAtA []byte, err error)
- func (m *Proof) MarshalTo(dAtA []byte) (int, error)
- func (m *Proof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Proof) ProtoMessage()
- func (m *Proof) Reset()
- func (m *Proof) Size() (n int)
- func (m *Proof) String() string
- func (m *Proof) Unmarshal(dAtA []byte) error
- func (m *Proof) XXX_DiscardUnknown()
- func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proof) XXX_Merge(src proto.Message)
- func (m *Proof) XXX_Size() int
- func (m *Proof) XXX_Unmarshal(b []byte) error
- type Row
- func (*Row) Descriptor() ([]byte, []int)
- func (m *Row) GetProof() *Proof
- func (m *Row) GetShares() [][]byte
- func (m *Row) Marshal() (dAtA []byte, err error)
- func (m *Row) MarshalTo(dAtA []byte) (int, error)
- func (m *Row) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Row) ProtoMessage()
- func (m *Row) Reset()
- func (m *Row) Size() (n int)
- func (m *Row) String() string
- func (m *Row) Unmarshal(dAtA []byte) error
- func (m *Row) XXX_DiscardUnknown()
- func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Row) XXX_Merge(src proto.Message)
- func (m *Row) XXX_Size() int
- func (m *Row) XXX_Unmarshal(b []byte) error
- type StatusCode
Constants ¶
This section is empty.
Variables ¶
View Source
var ()
View Source
var StatusCode_name = map[int32]string{
0: "INVALID",
1: "OK",
2: "NOT_FOUND",
3: "INTERNAL",
4: "NAMESPACE_NOT_FOUND",
}
View Source
var StatusCode_value = map[string]int32{
"INVALID": 0,
"OK": 1,
"NOT_FOUND": 2,
"INTERNAL": 3,
"NAMESPACE_NOT_FOUND": 4,
}
Functions ¶
This section is empty.
Types ¶
type GetSharesByNamespaceRequest ¶
type GetSharesByNamespaceRequest struct {}
func (*GetSharesByNamespaceRequest) Descriptor ¶
func (*GetSharesByNamespaceRequest) Descriptor() ([]byte, []int)
func (*GetSharesByNamespaceRequest) GetNamespaceId ¶
func (m *GetSharesByNamespaceRequest) GetNamespaceId() []byte
func (*GetSharesByNamespaceRequest) GetRootHash ¶
func (m *GetSharesByNamespaceRequest) GetRootHash() []byte
func (*GetSharesByNamespaceRequest) Marshal ¶
func (m *GetSharesByNamespaceRequest) Marshal() (dAtA []byte, err error)
func (*GetSharesByNamespaceRequest) MarshalTo ¶
func (m *GetSharesByNamespaceRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetSharesByNamespaceRequest) MarshalToSizedBuffer ¶
func (m *GetSharesByNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetSharesByNamespaceRequest) ProtoMessage ¶
func (*GetSharesByNamespaceRequest) ProtoMessage()
func (*GetSharesByNamespaceRequest) Reset ¶
func (m *GetSharesByNamespaceRequest) Reset()
func (*GetSharesByNamespaceRequest) Size ¶
func (m *GetSharesByNamespaceRequest) Size() (n int)
func (*GetSharesByNamespaceRequest) String ¶
func (m *GetSharesByNamespaceRequest) String() string
func (*GetSharesByNamespaceRequest) Unmarshal ¶
func (m *GetSharesByNamespaceRequest) Unmarshal(dAtA []byte) error
func (*GetSharesByNamespaceRequest) XXX_DiscardUnknown ¶
func (m *GetSharesByNamespaceRequest) XXX_DiscardUnknown()
func (*GetSharesByNamespaceRequest) XXX_Marshal ¶
func (m *GetSharesByNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSharesByNamespaceRequest) XXX_Merge ¶
func (m *GetSharesByNamespaceRequest) XXX_Merge(src proto.Message)
func (*GetSharesByNamespaceRequest) XXX_Size ¶
func (m *GetSharesByNamespaceRequest) XXX_Size() int
func (*GetSharesByNamespaceRequest) XXX_Unmarshal ¶
func (m *GetSharesByNamespaceRequest) XXX_Unmarshal(b []byte) error
type GetSharesByNamespaceResponse ¶
type GetSharesByNamespaceResponse struct {}
func (*GetSharesByNamespaceResponse) Descriptor ¶
func (*GetSharesByNamespaceResponse) Descriptor() ([]byte, []int)
func (*GetSharesByNamespaceResponse) GetRows ¶
func (m *GetSharesByNamespaceResponse) GetRows() []*Row
func (*GetSharesByNamespaceResponse) GetStatus ¶
func (m *GetSharesByNamespaceResponse) GetStatus() StatusCode
func (*GetSharesByNamespaceResponse) Marshal ¶
func (m *GetSharesByNamespaceResponse) Marshal() (dAtA []byte, err error)
func (*GetSharesByNamespaceResponse) MarshalTo ¶
func (m *GetSharesByNamespaceResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetSharesByNamespaceResponse) MarshalToSizedBuffer ¶
func (m *GetSharesByNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetSharesByNamespaceResponse) ProtoMessage ¶
func (*GetSharesByNamespaceResponse) ProtoMessage()
func (*GetSharesByNamespaceResponse) Reset ¶
func (m *GetSharesByNamespaceResponse) Reset()
func (*GetSharesByNamespaceResponse) Size ¶
func (m *GetSharesByNamespaceResponse) Size() (n int)
func (*GetSharesByNamespaceResponse) String ¶
func (m *GetSharesByNamespaceResponse) String() string
func (*GetSharesByNamespaceResponse) Unmarshal ¶
func (m *GetSharesByNamespaceResponse) Unmarshal(dAtA []byte) error
func (*GetSharesByNamespaceResponse) XXX_DiscardUnknown ¶
func (m *GetSharesByNamespaceResponse) XXX_DiscardUnknown()
func (*GetSharesByNamespaceResponse) XXX_Marshal ¶
func (m *GetSharesByNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSharesByNamespaceResponse) XXX_Merge ¶
func (m *GetSharesByNamespaceResponse) XXX_Merge(src proto.Message)
func (*GetSharesByNamespaceResponse) XXX_Size ¶
func (m *GetSharesByNamespaceResponse) XXX_Size() int
func (*GetSharesByNamespaceResponse) XXX_Unmarshal ¶
func (m *GetSharesByNamespaceResponse) XXX_Unmarshal(b []byte) error
type Proof ¶
type Proof struct { Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` Nodes [][]byte `protobuf:"bytes,3,rep,name=Nodes,proto3" json:"Nodes,omitempty"` }
func (*Proof) Descriptor ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) XXX_DiscardUnknown ¶
func (m *Proof) XXX_DiscardUnknown()
func (*Proof) XXX_Marshal ¶
func (*Proof) XXX_Unmarshal ¶
type Row ¶
type Row struct { Proof *Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` }
func (*Row) Descriptor ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) XXX_DiscardUnknown ¶
func (m *Row) XXX_DiscardUnknown()
func (*Row) XXX_Unmarshal ¶
type StatusCode ¶
type StatusCode int32
const ( StatusCode_INVALID StatusCode = 0 StatusCode_OK StatusCode = 1 StatusCode_NOT_FOUND StatusCode = 2 StatusCode_INTERNAL StatusCode = 3 StatusCode_NAMESPACE_NOT_FOUND StatusCode = 4 )
func (StatusCode) EnumDescriptor ¶
func (StatusCode) EnumDescriptor() ([]byte, []int)
func (StatusCode) String ¶
func (x StatusCode) String() string
Click to show internal directories.
Click to hide internal directories.