Affected by GO-2022-0779
and 2 other vulnerabilities
GO-2022-0873 : Control character injection in console output in github.com/ipfs/go-ipfs
GO-2024-2779 : Access Restriction Bypass in go-ipfs in github.com/ipfs/go-ipfs
Discover Packages
github.com/ipfs/go-ipfs
util
eventlog
loggables
package
Version:
v0.4.0-rc1
Opens a new window with list of versions in this module.
Published: Jan 28, 2016
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types Error(e) NetConn(c) type DeferredMap Dial(sys, lid, rid, laddr, raddr) (m) Loggable()
Documentation
¶
Package loggables includes a bunch of transaltor functions for commonplace/stdlib
objects. This is boilerplate code that shouldn't change much, and not sprinkled
all over the place (i.e. gather it here).
Note: it may make sense to put all stdlib Loggable functions in the eventlog
package. Putting it here for now in case we don't want to polute it.
func Error (e error ) logging.Loggable
Error returns an eventlog.Metadata with an error
func NetConn (c net.Conn) logging.Loggable
NetConn returns an eventlog.Metadata with the conn addresses
type DeferredMap map [string ]interface {}
DeferredMap is a Loggable which may contained deffered values.
func Dial (sys string , lid, rid peer.ID, laddr, raddr ma.Multiaddr) DeferredMap
Dial metadata is metadata for dial events
func (m DeferredMap) Loggable() map [string ]interface {}
Loggable describes objects that can be marshalled into Metadata for logging
Source Files
¶
Click to show internal directories.
Click to hide internal directories.