echoservice

package
v0.0.0-...-61b3f89 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package echoservice is a generated protocol buffer package.

It is generated from these files:

github.com/thesyncim/exposed/examples/echo/echoservice/generated.proto

It has these top-level messages:

EchoReply
EchoRequest

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type EchoReply

type EchoReply struct {
	Ret []byte `protobuf:"bytes,1,opt,name=ret"`
}

protobuf=true

func (*EchoReply) Descriptor

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

func (*EchoReply) Equal

func (this *EchoReply) Equal(that interface{}) bool

func (*EchoReply) GoString

func (this *EchoReply) GoString() string

func (*EchoReply) Marshal

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

func (*EchoReply) MarshalTo

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

func (*EchoReply) ProtoMessage

func (*EchoReply) ProtoMessage()

func (*EchoReply) Reset

func (m *EchoReply) Reset()

func (*EchoReply) Size

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

func (*EchoReply) String

func (this *EchoReply) String() string

func (*EchoReply) Unmarshal

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

func (*EchoReply) XXX_MessageName

func (*EchoReply) XXX_MessageName() string

type EchoRequest

type EchoRequest struct {
	Msg []byte `protobuf:"bytes,1,opt,name=msg"`
}

protobuf=true

func (*EchoRequest) Descriptor

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

func (*EchoRequest) Equal

func (this *EchoRequest) Equal(that interface{}) bool

func (*EchoRequest) GoString

func (this *EchoRequest) GoString() string

func (*EchoRequest) Marshal

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

func (*EchoRequest) MarshalTo

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

func (*EchoRequest) ProtoMessage

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) Reset

func (m *EchoRequest) Reset()

func (*EchoRequest) Size

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

func (*EchoRequest) String

func (this *EchoRequest) String() string

func (*EchoRequest) Unmarshal

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

func (*EchoRequest) XXX_MessageName

func (*EchoRequest) XXX_MessageName() string

type EchoserviceClient

type EchoserviceClient struct {
	*exposed.Client
}

func NewClient

func NewClient(c *exposed.Client) *EchoserviceClient

func (*EchoserviceClient) Echo

func (c *EchoserviceClient) Echo(msg []byte) (ret []byte, err error)

type EchoserviceServer

type EchoserviceServer struct {
	Impl echo.Echoer
}

func NewServer

func NewServer(Impl echo.Echoer) *EchoserviceServer

func (*EchoserviceServer) Echo

func (r *EchoserviceServer) Echo(ctx *exposed.Context, req exposed.Message, resp exposed.Message) (err error)

func (*EchoserviceServer) ExposedOperations

func (r *EchoserviceServer) ExposedOperations() []exposed.OperationInfo

Jump to

Keyboard shortcuts

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