Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
pb/pb.proto
It has these top-level messages:
DBQuery QueryReply RunRequest RunReply
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAPIServer ¶
Types ¶
type APIClient ¶
type APIClient interface { Query(ctx context.Context, in *DBQuery, opts ...grpc.CallOption) (*QueryReply, error) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunReply, error) }
func NewAPIClient ¶
func NewAPIClient(cc *grpc.ClientConn) APIClient
type APIServer ¶
type APIServer interface { Query(context.Context, *DBQuery) (*QueryReply, error) Run(context.Context, *RunRequest) (*RunReply, error) }
type DBQuery ¶
type DBQuery struct {
Table string `protobuf:"bytes,1,opt,name=Table,json=table" json:"Table,omitempty"`
}
func (*DBQuery) Descriptor ¶
func (*DBQuery) ProtoMessage ¶
func (*DBQuery) ProtoMessage()
type QueryReply ¶
type QueryReply struct {
TableContents string `protobuf:"bytes,1,opt,name=TableContents,json=tableContents" json:"TableContents,omitempty"`
}
func (*QueryReply) Descriptor ¶
func (*QueryReply) Descriptor() ([]byte, []int)
func (*QueryReply) ProtoMessage ¶
func (*QueryReply) ProtoMessage()
func (*QueryReply) Reset ¶
func (m *QueryReply) Reset()
func (*QueryReply) String ¶
func (m *QueryReply) String() string
type RunReply ¶
type RunReply struct { }
func (*RunReply) Descriptor ¶
func (*RunReply) ProtoMessage ¶
func (*RunReply) ProtoMessage()
type RunRequest ¶
type RunRequest struct {
Stitch string `protobuf:"bytes,1,opt,name=Stitch,json=stitch" json:"Stitch,omitempty"`
}
func (*RunRequest) Descriptor ¶
func (*RunRequest) Descriptor() ([]byte, []int)
func (*RunRequest) ProtoMessage ¶
func (*RunRequest) ProtoMessage()
func (*RunRequest) Reset ¶
func (m *RunRequest) Reset()
func (*RunRequest) String ¶
func (m *RunRequest) String() string
Click to show internal directories.
Click to hide internal directories.