package
0.0.0-20190101045657-ce948763b909
Repository: https://github.com/ether1project/go-ipfs.git
Documentation: pkg.go.dev
# Functions
CheckVersionOption returns a ServeOption that checks whether the client ipfs version matches.
CommandsOption constructs a ServerOption for hooking the commands into the HTTP server.
CommandsROOption constructs a ServerOption for hooking the read-only commands into the HTTP server.
No description provided by the author
IPNSHostnameOption rewrites an incoming request if its Host: header contains an IPNS name.
ListenAndServe runs an HTTP server listening at |listeningMultiAddr| with the given serve options.
No description provided by the author
This adds collection of net/http-related metrics.
This adds the scraping endpoint which Prometheus uses to fetch metrics.
MutexFractionOption allows to set runtime.SetMutexProfileFraction via HTTP using POST request with parameter 'fraction'.
ProxyOption is an endpoint for proxying a HTTP request to another ipfs peer.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
# Type aliases
ServeOption registers any HTTP handlers it provides on the given mux.