Documentation ¶
Overview ¶
Package store abstracts access to zero config zones.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingFetcher ¶
type CachingFetcher struct {
// contains filtered or unexported fields
}
CachingFetcher is a simple stupid in memory cache that unconditionally returns cached zones and triggers a cache update in the background.
func NewCachingFetcher ¶
func NewCachingFetcher(fetcher Fetcher) *CachingFetcher
NewCachingFetcher creates a new caching fetcher
type IPNSFetcher ¶
type IPNSFetcher struct {
// contains filtered or unexported fields
}
IPNSFetcher knows how to fetch zones from IPNS.
func NewIPNSFetcher ¶
func NewIPNSFetcher(apiAddr string) *IPNSFetcher
NewIPNSFetcher returns a new IPNSFetcher.
type IPNSGatewayFetcher ¶
type IPNSGatewayFetcher struct {
// contains filtered or unexported fields
}
IPNSGatewayFetcher fetches a zone using the ipfs gateway
func NewIPNSGatewayFetcher ¶
func NewIPNSGatewayFetcher(gwAddr string) *IPNSGatewayFetcher
NewIPNSGatewayFetcher returns a new IPNSGatewayFetcher.
type SingleFlightFetcher ¶
type SingleFlightFetcher struct {
// contains filtered or unexported fields
}
func NewSingleFlightFetcher ¶
func NewSingleFlightFetcher(fetcher Fetcher) *SingleFlightFetcher
NewSingleFlightFetcher creates a new single flight fetcher.
Click to show internal directories.
Click to hide internal directories.