Documentation ¶
Index ¶
- func NewFromMap(node api.Node, t map[string]interface{}) api.Transport
- type Module
- func (s3obj *Module) ByteLimit() int64
- func (s3obj *Module) Listen(listen string, adminMode bool)
- func (s3obj *Module) MarshalJSON() (b []byte, e error)
- func (s3obj *Module) Name() string
- func (s3obj *Module) RPC(host string, method api.Action, args ...interface{}) (interface{}, error)
- func (s3obj *Module) SetByteLimit(limit int64)
- func (s3obj *Module) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Module ¶
type Module struct { Region string Namespace string AccessKey string SecretKey string EndPoint string C2Bucket string TimeBucket string RoutingPubKey bc.PubKey // contains filtered or unexported fields }
Module : S3 Implementation of a Transport module
func New ¶
func New(namespace string, region string, node api.Node, accessKey string, secretKey string, pubkey string, endpoint string, c2Bucket string, timeBucket string) *Module
New : Makes a new instance of this 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.