Add transport comment
This commit is contained in:
		| @@ -27,6 +27,9 @@ type Listener interface { | ||||
| 	Accept(func(Socket)) error | ||||
| } | ||||
|  | ||||
| // Transport is an interface which is used for communication between | ||||
| // services. It uses socket send/recv semantics and had various | ||||
| // implementations {HTTP, RabbitMQ, NATS, ...} | ||||
| type Transport interface { | ||||
| 	Dial(addr string, opts ...DialOption) (Client, error) | ||||
| 	Listen(addr string, opts ...ListenOption) (Listener, error) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user