• Brian Tiger Chow's avatar
    refactor(core) extract corehttp package · fadedf9e
    Brian Tiger Chow authored
    PACKAGE DOCUMENTATION
    
    package corehttp
    
        FUNCTIONS
    
        func GatewayOption(n *core.IpfsNode, mux *http.ServeMux) error
    
        func ListenAndServe(n *core.IpfsNode, addr ma.Multiaddr, options
        ...ServeOption) error
    
        func WebUIOption(n *core.IpfsNode, mux *http.ServeMux) error
    
        TYPES
    
        type ServeOption func(*core.IpfsNode, *http.ServeMux) error
    
        func DaemonOption(cctx commands.Context) ServeOption
    fadedf9e
daemon.go 4.62 KB