Documentation ¶
Overview ¶
Package version is a generated protocol buffer package.
It is generated from these files:
github.com/appcelerator/amp/api/rpc/version/version.proto
It has these top-level messages:
Info GetRequest GetReply
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterVersionServer ¶
func RegisterVersionServer(s *grpc.Server, srv VersionServer)
Types ¶
type GetReply ¶ added in v0.9.0
type GetReply struct {
Info *Info `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
}
func (*GetReply) Descriptor ¶ added in v0.9.0
func (*GetReply) ProtoMessage ¶ added in v0.9.0
func (*GetReply) ProtoMessage()
type GetRequest ¶ added in v0.9.0
type GetRequest struct { }
func (*GetRequest) Descriptor ¶ added in v0.9.0
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) ProtoMessage ¶ added in v0.9.0
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶ added in v0.9.0
func (m *GetRequest) Reset()
func (*GetRequest) String ¶ added in v0.9.0
func (m *GetRequest) String() string
type Info ¶ added in v0.9.0
type Info struct { Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` Build string `protobuf:"bytes,2,opt,name=build" json:"build,omitempty"` GoVersion string `protobuf:"bytes,3,opt,name=go_version,json=goVersion" json:"go_version,omitempty"` Os string `protobuf:"bytes,4,opt,name=os" json:"os,omitempty"` Arch string `protobuf:"bytes,5,opt,name=arch" json:"arch,omitempty"` }
func (*Info) Descriptor ¶ added in v0.9.0
func (*Info) GetGoVersion ¶ added in v0.9.0
func (*Info) GetVersion ¶ added in v0.9.0
func (*Info) ProtoMessage ¶ added in v0.9.0
func (*Info) ProtoMessage()
type VersionClient ¶
type VersionClient interface {
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error)
}
func NewVersionClient ¶
func NewVersionClient(cc *grpc.ClientConn) VersionClient
type VersionServer ¶
type VersionServer interface {
Get(context.Context, *GetRequest) (*GetReply, error)
}
Click to show internal directories.
Click to hide internal directories.