Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
bwmf.proto
It has these top-level messages:
Request Response MatrixShard
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBlockDataServer ¶
func RegisterBlockDataServer(s *grpc.Server, srv BlockDataServer)
Types ¶
type BlockDataClient ¶
type BlockDataClient interface { GetTShard(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) GetDShard(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) }
func NewBlockDataClient ¶
func NewBlockDataClient(cc *grpc.ClientConn) BlockDataClient
type BlockDataServer ¶
type MatrixShard ¶
type MatrixShard struct { IsSparse bool `protobuf:"varint,1,opt,name=is_sparse" json:"is_sparse,omitempty"` M uint32 `protobuf:"varint,2,opt,name=m" json:"m,omitempty"` N uint32 `protobuf:"varint,3,opt,name=n" json:"n,omitempty"` Val []float32 `protobuf:"fixed32,4,rep,name=val" json:"val,omitempty"` Ir []uint32 `protobuf:"varint,5,rep,name=ir" json:"ir,omitempty"` Jc []uint32 `protobuf:"varint,6,rep,name=jc" json:"jc,omitempty"` }
func (*MatrixShard) ProtoMessage ¶
func (*MatrixShard) ProtoMessage()
func (*MatrixShard) Reset ¶
func (m *MatrixShard) Reset()
func (*MatrixShard) String ¶
func (m *MatrixShard) String() string
type Request ¶
type Request struct { }
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct { BlockId uint64 `protobuf:"varint,1,opt,name=blockId" json:"blockId,omitempty"` Shard *MatrixShard `protobuf:"bytes,2,opt,name=shard" json:"shard,omitempty"` }
func (*Response) GetShard ¶
func (m *Response) GetShard() *MatrixShard
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.