pb

package
v0.0.0-...-3fa228a Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2016 License: MIT Imports: 5 Imported by: 0

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

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

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) Descriptor() ([]byte, []int)

func (*DBQuery) ProtoMessage

func (*DBQuery) ProtoMessage()

func (*DBQuery) Reset

func (m *DBQuery) Reset()

func (*DBQuery) String

func (m *DBQuery) String() string

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) Descriptor() ([]byte, []int)

func (*RunReply) ProtoMessage

func (*RunReply) ProtoMessage()

func (*RunReply) Reset

func (m *RunReply) Reset()

func (*RunReply) String

func (m *RunReply) String() string

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

Jump to

Keyboard shortcuts

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