Documentation ¶
Overview ¶
Package hello_world is generated code used to make or handle TChannel calls using Thrift.
Index ¶
- func NewEchoClient(client pb.TChanClient) *echoClient
- func NewEchoServer(handler Echo) pb.TChanServer
- type Echo
- type Echo_StreamTest_Client
- type Echo_StreamTest_Server
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetAction() string
- func (m *Request) GetField1() string
- func (m *Request) GetField10() string
- func (m *Request) GetField2() string
- func (m *Request) GetField3() string
- func (m *Request) GetField4() string
- func (m *Request) GetField5() string
- func (m *Request) GetField6() string
- func (m *Request) GetField7() string
- func (m *Request) GetField8() string
- func (m *Request) GetField9() string
- func (m *Request) GetLength() int64
- func (m *Request) GetTime() int64
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetAction() string
- func (m *Response) GetIsEnd() bool
- func (m *Response) GetMsg() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEchoClient ¶
func NewEchoClient(client pb.TChanClient) *echoClient
func NewEchoServer ¶
func NewEchoServer(handler Echo) pb.TChanServer
Types ¶
type Echo_StreamTest_Client ¶
type Echo_StreamTest_Server ¶
type Request ¶
type Request struct { Action string `protobuf:"bytes,1,opt,name=Action,proto3" json:"Action,omitempty"` Field1 string `protobuf:"bytes,2,opt,name=field1,proto3" json:"field1,omitempty"` Field2 string `protobuf:"bytes,3,opt,name=field2,proto3" json:"field2,omitempty"` Field3 string `protobuf:"bytes,4,opt,name=field3,proto3" json:"field3,omitempty"` Field4 string `protobuf:"bytes,5,opt,name=field4,proto3" json:"field4,omitempty"` Field5 string `protobuf:"bytes,6,opt,name=field5,proto3" json:"field5,omitempty"` Field6 string `protobuf:"bytes,7,opt,name=field6,proto3" json:"field6,omitempty"` Field7 string `protobuf:"bytes,8,opt,name=field7,proto3" json:"field7,omitempty"` Field8 string `protobuf:"bytes,9,opt,name=field8,proto3" json:"field8,omitempty"` Field9 string `protobuf:"bytes,10,opt,name=field9,proto3" json:"field9,omitempty"` Field10 string `protobuf:"bytes,11,opt,name=field10,proto3" json:"field10,omitempty"` Time int64 `protobuf:"varint,12,opt,name=time,proto3" json:"time,omitempty"` Length int64 `protobuf:"varint,13,opt,name=length,proto3" json:"length,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) GetField10 ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Response ¶
type Response struct { Action string `protobuf:"bytes,1,opt,name=Action,proto3" json:"Action,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` IsEnd bool `protobuf:"varint,3,opt,name=isEnd,proto3" json:"isEnd,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.