Versions in this module Expand all Collapse all v0 v0.0.1 Aug 17, 2020 Changes in this version + const APIPath + const WebUIPath + var WebUIOption = RedirectOption("webui", WebUIPath) + var WebUIPaths = []string + func ListenAndServe(n *core.IpfsNode, listeningMultiAddr string, options ...ServeOption) error + func Serve(node *core.IpfsNode, lis net.Listener, options ...ServeOption) error + type GatewayConfig struct + Headers map[string][]string + PathPrefixes []string + Writable bool + type IpfsNodeCollector struct + Node *core.IpfsNode + func (_ IpfsNodeCollector) Describe(ch chan<- *prometheus.Desc) + func (c IpfsNodeCollector) Collect(ch chan<- prometheus.Metric) + func (c IpfsNodeCollector) PeersTotalValues() map[string]float64 + type ServeOption func(*core.IpfsNode, net.Listener, *http.ServeMux) (*http.ServeMux, error) + func CheckVersionOption() ServeOption + func CommandsOption(cctx oldcmds.Context) ServeOption + func CommandsROOption(cctx oldcmds.Context) ServeOption + func GatewayOption(writable bool, paths ...string) ServeOption + func HostnameOption() ServeOption + func LogOption() ServeOption + func MetricsCollectionOption(handlerName string) ServeOption + func MetricsScrapingOption(path string) ServeOption + func MutexFractionOption(path string) ServeOption + func P2PProxyOption() ServeOption + func RedirectOption(path string, redirect string) ServeOption + func VersionOption() ServeOption