Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHelloServiceServer

func RegisterHelloServiceServer(s *grpc.Server, srv HelloServiceServer)

func RegisterHolaServiceServer

func RegisterHolaServiceServer(s *grpc.Server, srv HolaServiceServer)

Types

type HelloReply

type HelloReply struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

    The response message containing the greetings

    func (*HelloReply) Descriptor

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

    func (*HelloReply) GetMessage

    func (m *HelloReply) GetMessage() string

    func (*HelloReply) ProtoMessage

    func (*HelloReply) ProtoMessage()

    func (*HelloReply) Reset

    func (m *HelloReply) Reset()

    func (*HelloReply) String

    func (m *HelloReply) String() string

    func (*HelloReply) XXX_DiscardUnknown

    func (m *HelloReply) XXX_DiscardUnknown()

    func (*HelloReply) XXX_Marshal

    func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

    func (*HelloReply) XXX_Merge

    func (dst *HelloReply) XXX_Merge(src proto.Message)

    func (*HelloReply) XXX_Size

    func (m *HelloReply) XXX_Size() int

    func (*HelloReply) XXX_Unmarshal

    func (m *HelloReply) XXX_Unmarshal(b []byte) error

    type HelloRequest

    type HelloRequest struct {
    	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    	XXX_unrecognized     []byte   `json:"-"`
    	XXX_sizecache        int32    `json:"-"`
    }

      The request message containing the user's name.

      func (*HelloRequest) Descriptor

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

      func (*HelloRequest) GetName

      func (m *HelloRequest) GetName() string

      func (*HelloRequest) ProtoMessage

      func (*HelloRequest) ProtoMessage()

      func (*HelloRequest) Reset

      func (m *HelloRequest) Reset()

      func (*HelloRequest) String

      func (m *HelloRequest) String() string

      func (*HelloRequest) XXX_DiscardUnknown

      func (m *HelloRequest) XXX_DiscardUnknown()

      func (*HelloRequest) XXX_Marshal

      func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*HelloRequest) XXX_Merge

      func (dst *HelloRequest) XXX_Merge(src proto.Message)

      func (*HelloRequest) XXX_Size

      func (m *HelloRequest) XXX_Size() int

      func (*HelloRequest) XXX_Unmarshal

      func (m *HelloRequest) XXX_Unmarshal(b []byte) error

      type HelloServiceClient

      type HelloServiceClient interface {
      	// Sends a hello greeting
      	SayHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error)
      }

        HelloServiceClient is the client API for HelloService service.

        For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

        func NewHelloServiceClient

        func NewHelloServiceClient(cc *grpc.ClientConn) HelloServiceClient

        type HelloServiceServer

        type HelloServiceServer interface {
        	// Sends a hello greeting
        	SayHello(context.Context, *HelloRequest) (*HelloReply, error)
        }

          HelloServiceServer is the server API for HelloService service.

          type HolaReply

          type HolaReply struct {
          	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

            The response message containing the greetings

            func (*HolaReply) Descriptor

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

            func (*HolaReply) GetMessage

            func (m *HolaReply) GetMessage() string

            func (*HolaReply) ProtoMessage

            func (*HolaReply) ProtoMessage()

            func (*HolaReply) Reset

            func (m *HolaReply) Reset()

            func (*HolaReply) String

            func (m *HolaReply) String() string

            func (*HolaReply) XXX_DiscardUnknown

            func (m *HolaReply) XXX_DiscardUnknown()

            func (*HolaReply) XXX_Marshal

            func (m *HolaReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

            func (*HolaReply) XXX_Merge

            func (dst *HolaReply) XXX_Merge(src proto.Message)

            func (*HolaReply) XXX_Size

            func (m *HolaReply) XXX_Size() int

            func (*HolaReply) XXX_Unmarshal

            func (m *HolaReply) XXX_Unmarshal(b []byte) error

            type HolaRequest

            type HolaRequest struct {
            	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
            	XXX_NoUnkeyedLiteral struct{} `json:"-"`
            	XXX_unrecognized     []byte   `json:"-"`
            	XXX_sizecache        int32    `json:"-"`
            }

              The request message containing the user's name.

              func (*HolaRequest) Descriptor

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

              func (*HolaRequest) GetName

              func (m *HolaRequest) GetName() string

              func (*HolaRequest) ProtoMessage

              func (*HolaRequest) ProtoMessage()

              func (*HolaRequest) Reset

              func (m *HolaRequest) Reset()

              func (*HolaRequest) String

              func (m *HolaRequest) String() string

              func (*HolaRequest) XXX_DiscardUnknown

              func (m *HolaRequest) XXX_DiscardUnknown()

              func (*HolaRequest) XXX_Marshal

              func (m *HolaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

              func (*HolaRequest) XXX_Merge

              func (dst *HolaRequest) XXX_Merge(src proto.Message)

              func (*HolaRequest) XXX_Size

              func (m *HolaRequest) XXX_Size() int

              func (*HolaRequest) XXX_Unmarshal

              func (m *HolaRequest) XXX_Unmarshal(b []byte) error

              type HolaServiceClient

              type HolaServiceClient interface {
              	// Sends a hola greeting
              	SayHola(ctx context.Context, in *HolaRequest, opts ...grpc.CallOption) (*HolaReply, error)
              }

                HolaServiceClient is the client API for HolaService service.

                For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

                func NewHolaServiceClient

                func NewHolaServiceClient(cc *grpc.ClientConn) HolaServiceClient

                type HolaServiceServer

                type HolaServiceServer interface {
                	// Sends a hola greeting
                	SayHola(context.Context, *HolaRequest) (*HolaReply, error)
                }

                  HolaServiceServer is the server API for HolaService service.