Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport interface { // Start start the transport Start() error // Stop stop the transport Stop() error // AsyncSend async send msg AsyncSend(string, meta.Notify, func(meta.Notify)) error }
Transport transport
func NewTransport ¶
func NewTransport(workers int, resourceAddrDetecter func(uint64, string) (meta.ResourceManager, error), rpcFunc func(meta.ResourceManager, meta.Notify) error) Transport
NewTransport create a transport based on http
Click to show internal directories.
Click to hide internal directories.