Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContentPathPrefix = "/ipfs/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayHandler ¶
type GatewayHandler struct {
// contains filtered or unexported fields
}
func NewGatewayHandler ¶
func NewGatewayHandler(peer Peer, dag ipld.DAGService, bserv blockservice.BlockService) *GatewayHandler
func (*GatewayHandler) ResolvePath ¶
func (*GatewayHandler) ServeHTTP ¶
func (i *GatewayHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.