package
0.11.0
Repository: https://github.com/arsham/expipe.git
Documentation: pkg.go.dev

# Packages

Package config contains the logic for reading the configurations from a file in order to bootstrap it.
Package token contains necessary logic for passing messages.

# Functions

DiscardLogger returns a dummy logger.
GetLogger returns the default logger with the given log level.
IsJSON checks is the input content is a valid JSON input.
SanitiseURL prepends a protocol to the url if not defined, and checks if it's a valid url.
StandardLogger returns an instance of Logger.
StringInMapKeys returns true if niddle is in the haystack's keys.
StringInSlice returns true if niddle is in the haystack.

# Constants

DebugLevel for Debug level.
ErrorLevel for Error level.
InfoLevel for Info level.
WarnLevel for Warn level.

# Structs

Entry
Entry embeds logrus.Entry.
Logger embeds logrus.Logger.

# Type aliases

FieldLogger interface set by logrus.
InvalidURLError is returned when the URL is not a valid one.
Level type set by logrus.