Documentation ¶
Index ¶
- func NewFromMap(node api.Node, t map[string]interface{}) api.Transport
- type Module
- func (h *Module) ByteLimit() int64
- func (h *Module) HandleResponse(w http.ResponseWriter, r *http.Request, node api.Node, adminMode bool)
- func (h *Module) IsRunning() bool
- func (h *Module) Listen(listen string, adminMode bool)
- func (h *Module) MarshalJSON() (b []byte, e error)
- func (*Module) Name() string
- func (h *Module) OverrideServer(server *http.Server)
- func (h *Module) RPC(host string, method api.Action, args ...interface{}) (interface{}, error)
- func (h *Module) SetByteLimit(limit int64)
- func (h *Module) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Module ¶
Module : HTTPS Implementation of a Transport module
func (*Module) HandleResponse ¶
func (*Module) MarshalJSON ¶
MarshalJSON : Create a serialied representation of the config of this module
func (*Module) OverrideServer ¶
OverrideServer - override the http.Server object with one supplied by the caller
func (*Module) SetByteLimit ¶
SetByteLimit - set limit on bytes per bundle for this transport
Click to show internal directories.
Click to hide internal directories.