Versions in this module Expand all Collapse all v0 v0.0.1 Aug 17, 2020 Changes in this version + type Context struct + ConfigRoot string + ConstructNode func() (*core.IpfsNode, error) + Gateway bool + LoadConfig func(path string) (*config.Config, error) + Plugins *loader.PluginLoader + ReqLog *ReqLog + func (c *Context) Close() + func (c *Context) Context() context.Context + func (c *Context) GetAPI() (coreiface.CoreAPI, error) + func (c *Context) GetConfig() (*config.Config, error) + func (c *Context) GetNode() (*core.IpfsNode, error) + func (c *Context) LogRequest(req *cmds.Request) func() + type ReqLog struct + Requests []*ReqLogEntry + func (rl *ReqLog) AddEntry(rle *ReqLogEntry) + func (rl *ReqLog) ClearInactive() + func (rl *ReqLog) Finish(rle *ReqLogEntry) + func (rl *ReqLog) Report() []*ReqLogEntry + func (rl *ReqLog) SetKeepTime(t time.Duration) + type ReqLogEntry struct + Active bool + Args []string + Command string + EndTime time.Time + ID int + Options map[string]interface{} + StartTime time.Time + func (r *ReqLogEntry) Copy() *ReqLogEntry