rpc

package
v0.0.0-...-acdf8ed Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 6 Imported by: 0

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

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

func (*BuildReq) GetCode

func (m *BuildReq) GetCode() []byte

func (*BuildReq) GetLang

func (m *BuildReq) GetLang() string

func (*BuildReq) GetName

func (m *BuildReq) GetName() string

func (*BuildReq) GetPackage

func (m *BuildReq) GetPackage() bool

func (*BuildReq) GetVars

func (m *BuildReq) GetVars() map[string]string

func (*BuildReq) GetVersion

func (m *BuildReq) GetVersion() int64

func (*BuildReq) Marshal

func (m *BuildReq) Marshal() (dAtA []byte, err error)

func (*BuildReq) MarshalTo

func (m *BuildReq) MarshalTo(dAtA []byte) (int, error)

func (*BuildReq) ProtoMessage

func (*BuildReq) ProtoMessage()

func (*BuildReq) Reset

func (m *BuildReq) Reset()

func (*BuildReq) Size

func (m *BuildReq) Size() (n int)

func (*BuildReq) String

func (m *BuildReq) String() string

func (*BuildReq) Unmarshal

func (m *BuildReq) Unmarshal(dAtA []byte) error

type BuildResp

type BuildResp struct {
}

func (*BuildResp) Descriptor

func (*BuildResp) Descriptor() ([]byte, []int)

func (*BuildResp) Marshal

func (m *BuildResp) Marshal() (dAtA []byte, err error)

func (*BuildResp) MarshalTo

func (m *BuildResp) MarshalTo(dAtA []byte) (int, error)

func (*BuildResp) ProtoMessage

func (*BuildResp) ProtoMessage()

func (*BuildResp) Reset

func (m *BuildResp) Reset()

func (*BuildResp) Size

func (m *BuildResp) Size() (n int)

func (*BuildResp) String

func (m *BuildResp) String() string

func (*BuildResp) Unmarshal

func (m *BuildResp) Unmarshal(dAtA []byte) error

type BuilderClient

type BuilderClient interface {
	Build(ctx context.Context, in *BuildReq, opts ...grpc.CallOption) (*BuildResp, error)
}

func NewBuilderClient

func NewBuilderClient(cc *grpc.ClientConn) BuilderClient

type BuilderServer

type BuilderServer interface {
	Build(context.Context, *BuildReq) (*BuildResp, error)
}

Jump to

Keyboard shortcuts

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