logs

package
v0.0.179 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Alert added in v0.0.104

func Alert(err error) error

func Alertf added in v0.0.104

func Alertf(format string, args ...any) error

func Alertm added in v0.0.104

func Alertm(message string) error

func Close added in v0.0.173

func Close() error

func Debug added in v0.0.104

func Debug(v ...any)

func Debugf added in v0.0.104

func Debugf(format string, args ...any)

func Del added in v0.0.173

func Del(collection string, key string) (int64, error)

func Empty added in v0.0.173

func Empty(collection string) error

func Error

func Error(err error) error

func Errorf added in v0.0.34

func Errorf(format string, args ...any) error

func Errorm

func Errorm(message string) error

func Fatal

func Fatal(v ...any)

func Get added in v0.0.173

func Get(collection string, key, def string) (string, error)

func HDel added in v0.0.173

func HDel(collection string, key, atr string) error

func HGet added in v0.0.173

func HGet(collection string, key string) (map[string]string, error)

func HGetAtrib added in v0.0.173

func HGetAtrib(collection string, key, atr string) (string, error)

func HSet added in v0.0.173

func HSet(collection string, key string, val map[string]string) error

func HSetAtrib added in v0.0.173

func HSetAtrib(collection string, key, atr, val string) error

func Info added in v0.0.104

func Info(v ...any)

func Infof added in v0.0.104

func Infof(format string, args ...any)

func Log

func Log(kind string, args ...any) error

func Logf

func Logf(kind string, format string, args ...any)

func Nerror added in v0.0.173

func Nerror(message string) error

func Nerrorf added in v0.0.173

func Nerrorf(format string, args ...any) error

func Panic

func Panic(v ...any)

func Ping added in v0.0.104

func Ping()

func Pong added in v0.0.104

func Pong()

func Set added in v0.0.173

func Set(collection string, key string, val interface{}) error

func Traces added in v0.0.104

func Traces(kind, color string, err error) ([]string, error)

Types

type Conn added in v0.0.173

type Conn struct {
	// contains filtered or unexported fields
}

func Load added in v0.0.173

func Load() (*Conn, error)

type MongoDocument added in v0.0.173

type MongoDocument struct {
	Key        string            `bson:"key"`
	Value      string            `bson:"value"`
	Attributes map[string]string `bson:"attributes,omitempty"`
}

Estructura que representa el documento almacenado en MongoDB

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL