Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + const IpfsPathPrefix + const IpnsPathPrefix + const WebUIPath + var WebUIOption = RedirectOption("webui", WebUIPath) + var WebUIPaths = []string + func ListenAndServe(n *core.IpfsNode, listeningMultiAddr string, options ...ServeOption) error + func NewDagEmptyDir() *dag.Node + type BlockList struct + Decider Decider + func (b *BlockList) SetDecider(d Decider) + func (b *BlockList) ShouldAllow(s string) bool + func (b *BlockList) ShouldBlock(s string) bool + type Decider func(string) bool + type Gateway struct + Config GatewayConfig + func NewGateway(conf GatewayConfig) *Gateway + func (g *Gateway) ServeOption() ServeOption + type GatewayConfig struct + BlockList *BlockList + Writable bool + type ServeOption func(*core.IpfsNode, *http.ServeMux) (*http.ServeMux, error) + func CommandsOption(cctx commands.Context) ServeOption + func GatewayOption(writable bool) ServeOption + func IPNSHostnameOption() ServeOption + func RedirectOption(path string, redirect string) ServeOption + func VersionOption() ServeOption