Documentation ¶
Overview ¶
Package rpc is a generated protocol buffer package.
It is generated from these files:
rpc/rpc.proto
It has these top-level messages:
BuildReq BuildResp
Index ¶
- Variables
- func RegisterBuilderServer(s *grpc.Server, srv BuilderServer)
- type BuildReq
- func (*BuildReq) Descriptor() ([]byte, []int)
- func (m *BuildReq) GetCode() []byte
- func (m *BuildReq) GetLang() string
- func (m *BuildReq) GetName() string
- func (m *BuildReq) GetPackage() bool
- func (m *BuildReq) GetVars() map[string]string
- func (m *BuildReq) GetVersion() int64
- func (m *BuildReq) Marshal() (dAtA []byte, err error)
- func (m *BuildReq) MarshalTo(dAtA []byte) (int, error)
- func (*BuildReq) ProtoMessage()
- func (m *BuildReq) Reset()
- func (m *BuildReq) Size() (n int)
- func (m *BuildReq) String() string
- func (m *BuildReq) Unmarshal(dAtA []byte) error
- type BuildResp
- func (*BuildResp) Descriptor() ([]byte, []int)
- func (m *BuildResp) Marshal() (dAtA []byte, err error)
- func (m *BuildResp) MarshalTo(dAtA []byte) (int, error)
- func (*BuildResp) ProtoMessage()
- func (m *BuildResp) Reset()
- func (m *BuildResp) Size() (n int)
- func (m *BuildResp) String() string
- func (m *BuildResp) Unmarshal(dAtA []byte) error
- type BuilderClient
- type BuilderServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterBuilderServer ¶
func RegisterBuilderServer(s *grpc.Server, srv BuilderServer)
Types ¶
type BuildReq ¶
type BuildReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Lang string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"` Code []byte `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Package bool `protobuf:"varint,4,opt,name=package,proto3" json:"package,omitempty"` Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` Vars map[string]string `` /* 142-byte string literal not displayed */ }
func (*BuildReq) Descriptor ¶
func (*BuildReq) GetPackage ¶
func (*BuildReq) GetVersion ¶
func (*BuildReq) ProtoMessage ¶
func (*BuildReq) ProtoMessage()
type BuildResp ¶
type BuildResp struct { }
func (*BuildResp) Descriptor ¶
func (*BuildResp) ProtoMessage ¶
func (*BuildResp) ProtoMessage()
type BuilderClient ¶
type BuilderClient interface {
Build(ctx context.Context, in *BuildReq, opts ...grpc.CallOption) (*BuildResp, error)
}
func NewBuilderClient ¶
func NewBuilderClient(cc *grpc.ClientConn) BuilderClient
Click to show internal directories.
Click to hide internal directories.