Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrTooManyThreadsPerOwner indicates that the maximum amount of threads // are created for an owner. ErrTooManyThreadsPerOwner = errors.New("number of threads per owner exceeds quota") // WSPingInterval controls the WebSocket keepalive pinging interval. Must be >= 1s. WSPingInterval = time.Second * 5 )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RepoPath string AddrAPI ma.Multiaddr AddrAPIProxy ma.Multiaddr AddrThreadsHost ma.Multiaddr AddrIPFSAPI ma.Multiaddr AddrGatewayHost ma.Multiaddr AddrGatewayURL string AddrPowergateAPI ma.Multiaddr AddrMongoURI string UseSubdomains bool MongoName string DNSDomain string DNSZoneID string DNSToken string EmailFrom string EmailDomain string EmailAPIKey string EmailSessionSecret string BucketsMaxSize int64 BucketsTotalMaxSize int64 BucketsMaxNumberPerThread int ThreadsMaxNumberPerOwner int Hub bool Debug bool ThreadsConnManager connmgr.ConnManager FFSDefaultConfig *ffs.DefaultConfig }
Click to show internal directories.
Click to hide internal directories.