Documentation ¶
Index ¶
- func NewFromMap(node api.Node, t map[string]interface{}) api.Transport
- type Module
- func (m *Module) ByteLimit() int64
- func (m *Module) IsRunning() bool
- func (m *Module) Listen(listen string, adminMode bool)
- func (m *Module) MarshalJSON() (b []byte, e error)
- func (m *Module) Name() string
- func (m *Module) RPC(host string, method api.Action, args ...interface{}) (interface{}, error)
- func (m *Module) SetByteLimit(limit int64)
- func (m *Module) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module : UDP Implementation of a Transport module
func (*Module) MarshalJSON ¶
MarshalJSON : Create a serialied representation of the config of this module
func (*Module) SetByteLimit ¶
SetByteLimit - set limit on bytes per bundle for this transport
Click to show internal directories.
Click to hide internal directories.