Documentation
¶
Index ¶
- type AggregatorStorageConfig
- type AllocationStorageConfig
- type AppConfig
- type BlobStorageConfig
- type ClaimStorageConfig
- type ExternalServicesConfig
- type IdentityConfig
- type IndexingServiceConfig
- type KeyStoreConfig
- type PDPServiceConfig
- type PDPStoreConfig
- type PublisherServiceConfig
- type PublisherStorageConfig
- type ReceiptStorageConfig
- type ReplicatorStorageConfig
- type SchedulerConfig
- type ServerConfig
- type StashStoreConfig
- type StorageConfig
- type UCANServiceConfig
- type UploadServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatorStorageConfig ¶
AggregatorStorageConfig contains aggregator-specific storage paths
type AllocationStorageConfig ¶
type AllocationStorageConfig struct {
Dir string
}
AllocationStorageConfig contains allocation-specific storage paths
type AppConfig ¶
type AppConfig struct {
// Identity configuration
Identity IdentityConfig
// Server configuration
Server ServerConfig
// Storage paths and directories
Storage StorageConfig
// Configuration specific for UCAN operations
UCANService UCANServiceConfig
// Configuration specific for PDP operations
PDPService PDPServiceConfig
}
AppConfig is the root configuration for the entire application
type BlobStorageConfig ¶
BlobStorageConfig contains blob-specific storage paths
type ClaimStorageConfig ¶
type ClaimStorageConfig struct {
Dir string
}
ClaimStorageConfig contains claim-specific storage paths
type ExternalServicesConfig ¶
type ExternalServicesConfig struct {
PrincipalMapping map[string]string
Indexer IndexingServiceConfig
Upload UploadServiceConfig
Publisher PublisherServiceConfig
}
type IdentityConfig ¶
IdentityConfig contains identity-related configuration
type IndexingServiceConfig ¶
type IndexingServiceConfig struct {
Connection client.Connection
Proofs delegation.Proofs
}
IndexingServiceConfig contains indexing service connection and proof(s) for using the service
type KeyStoreConfig ¶ added in v0.0.13
type KeyStoreConfig struct {
Dir string
}
type PDPServiceConfig ¶ added in v0.0.13
type PDPServiceConfig struct {
// Users address, which owns a proof set and sends messages to the ContractAddress
OwnerAddress common.Address
// The 'PDP Service' contract address defined here: https://github.com/FilOzone/pdp/
ContractAddress common.Address
// The URL endpoint of a lotus node used for interaction with chain state.
LotusEndpoint *url.URL
}
type PDPStoreConfig ¶ added in v0.0.13
type PDPStoreConfig struct {
Dir string
}
type PublisherServiceConfig ¶ added in v0.0.13
type PublisherServiceConfig struct {
// The public facing multiaddr of the publisher
PublicMaddr multiaddr.Multiaddr
// The address put into announce messages to tell indexers where to fetch advertisements from
AnnounceMaddr multiaddr.Multiaddr
// Address to tell indexers where to fetch blobs from
BlobMaddr multiaddr.Multiaddr
// Indexer URLs to send direct HTTP announcements to
AnnounceURLs []url.URL
}
type PublisherStorageConfig ¶
type PublisherStorageConfig struct {
Dir string
}
PublisherStorageConfig contains publisher-specific storage paths
type ReceiptStorageConfig ¶
type ReceiptStorageConfig struct {
Dir string
}
ReceiptStorageConfig contains receipt-specific storage paths
type ReplicatorStorageConfig ¶
type ReplicatorStorageConfig struct {
DBPath string
}
ReplicatorStorageConfig contains replicator-specific storage paths
type SchedulerConfig ¶ added in v0.0.13
type SchedulerConfig struct {
DBPath string
}
type ServerConfig ¶
ServerConfig contains HTTP server settings
type StashStoreConfig ¶ added in v0.0.13
type StashStoreConfig struct {
Dir string
}
type StorageConfig ¶
type StorageConfig struct {
// Root directories
DataDir string
TempDir string
// Service-specific storage subdirectories
Aggregator AggregatorStorageConfig
Blobs BlobStorageConfig
Claims ClaimStorageConfig
Publisher PublisherStorageConfig
Receipts ReceiptStorageConfig
Allocations AllocationStorageConfig
Replicator ReplicatorStorageConfig
KeyStore KeyStoreConfig
StashStore StashStoreConfig
SchedulerStorage SchedulerConfig
PDPStore PDPStoreConfig
}
StorageConfig contains all storage paths and directories
type UCANServiceConfig ¶ added in v0.0.13
type UCANServiceConfig struct {
Services ExternalServicesConfig
ProofSetID uint64
}
type UploadServiceConfig ¶ added in v0.0.13
type UploadServiceConfig struct {
Connection client.Connection
}