Documentation
¶
Overview ¶
Package project is a generated protocol buffer package.
It is generated from these files:
github.com/appcelerator/amp/api/rpc/project/project.proto
It has these top-level messages:
CreateRequest CreateReply
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProjectServer ¶
func RegisterProjectServer(s *grpc.Server, srv ProjectServer)
Types ¶
type CreateReply ¶
type CreateReply struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*CreateReply) Descriptor ¶
func (*CreateReply) Descriptor() ([]byte, []int)
func (*CreateReply) ProtoMessage ¶
func (*CreateReply) ProtoMessage()
func (*CreateReply) Reset ¶
func (m *CreateReply) Reset()
func (*CreateReply) String ¶
func (m *CreateReply) String() string
type CreateRequest ¶
type CreateRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*CreateRequest) Descriptor ¶
func (*CreateRequest) Descriptor() ([]byte, []int)
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (m *CreateRequest) String() string
type ProjectClient ¶
type ProjectClient interface {
Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateReply, error)
}
func NewProjectClient ¶
func NewProjectClient(cc *grpc.ClientConn) ProjectClient
type ProjectServer ¶
type ProjectServer interface {
Create(context.Context, *CreateRequest) (*CreateReply, error)
}
Click to show internal directories.
Click to hide internal directories.