Documentation
¶
Index ¶
- func Dial(uri string, exchangeName string, queueName string) (*rpc.Client, error)
- func NewClient(uri string, exchangeName string, queueName string) *rpc.Client
- func NewClientCodec(uri string, exchangeName string, queueName string) rpc.ClientCodec
- func NewServerCodec(uri string, exchangeName string, queueName string) rpc.ServerCodec
- func ServeConn(uri string, exchangeName string, queueName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient returns a new rpc.Client to handle requests to the set of services at the other end of the connection.
func NewClientCodec ¶
func NewClientCodec(uri string, exchangeName string, queueName string) rpc.ClientCodec
NewClientCodec returns a new rpc.ClientCodec using Protobuf-RPC on conn.
func NewServerCodec ¶
func NewServerCodec(uri string, exchangeName string, queueName string) rpc.ServerCodec
NewServerCodec returns a serverCodec that communicates with the ClientCodec on the other end of the given conn.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
examples
|
|
message.pb
Package message is a generated protocol buffer package.
|
Package message is a generated protocol buffer package. |
proto3.pb
Package proto3_proto is a generated protocol buffer package.
|
Package proto3_proto is a generated protocol buffer package. |
service.pb
Package service is a generated protocol buffer package.
|
Package service is a generated protocol buffer package. |
protoc-gen-go is a plugin for the Google protocol buffer compiler to generate Go code.
|
protoc-gen-go is a plugin for the Google protocol buffer compiler to generate Go code. |
rmqrpc
Package rmqrpc outputs protorpc stub code.
|
Package rmqrpc outputs protorpc stub code. |
Package rmqrpc_wire is a generated protocol buffer package.
|
Package rmqrpc_wire is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.