project

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2016 License: MIT Imports: 5 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

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