fairy

package module
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 0 Imported by: 0

README

Fairy

Go Report Card Go Reference

Fairy contains several general tools for easier and simpler development.

All these tools are simplified version of the original ones and for general use. Your case may need a more complex one but I hope these tools can help you or at least become a reference for your own tools.

Good luck.


Installation

go get github.com/rl404/fairy

Usage

Please go to the documentation or example folder.

License

MIT License

Copyright (c) 2021 Axel

Documentation

Overview

Package fairy contains several general tools for easier and simpler development.

Directories

Path Synopsis
bigcache
Package bigcache is a wrapper of the original "github.com/allegro/bigcache" library.
Package bigcache is a wrapper of the original "github.com/allegro/bigcache" library.
memcache
Package memcache is a wrapper of the original "github.com/bradfitz/gomemcache/memcache" library.
Package memcache is a wrapper of the original "github.com/bradfitz/gomemcache/memcache" library.
nocache
Package nocache is a mock of caching.
Package nocache is a mock of caching.
redis
Package redis is a wrapper of the original "github.com/go-redis/redis" library.
Package redis is a wrapper of the original "github.com/go-redis/redis" library.
stack
Package stack is an error wrapper and put it to a stack using passed context.
Package stack is an error wrapper and put it to a stack using passed context.
example
log
log
builtin
Package builtin is a wrapper of the built-in log package.
Package builtin is a wrapper of the built-in log package.
elasticsearch
Package elasticsearch is a wrapper of the original "github.com/elastic/go-elasticsearch".
Package elasticsearch is a wrapper of the original "github.com/elastic/go-elasticsearch".
logrus
Package logrus is a wrapper of the original "github.com/sirupsen/logrus" library.
Package logrus is a wrapper of the original "github.com/sirupsen/logrus" library.
nolog
Package nolog is just a mock of logging which do nothing.
Package nolog is just a mock of logging which do nothing.
zap
Package zap is a wrapper of the original "github.com/uber-go/zap" library.
Package zap is a wrapper of the original "github.com/uber-go/zap" library.
zerolog
Package zerolog is a wrapper of the original "github.com/rs/zerolog" library.
Package zerolog is a wrapper of the original "github.com/rs/zerolog" library.
monitoring
prometheus/cache
Package cache is a prometheus wrapper for "github.com/rl404/fairy/cache" cacher interface.
Package cache is a prometheus wrapper for "github.com/rl404/fairy/cache" cacher interface.
prometheus/database
Package database is a prometheus wrapper for database.
Package database is a prometheus wrapper for database.
prometheus/middleware
Package middleware is a prometheus middleware for HTTP server.
Package middleware is a prometheus middleware for HTTP server.
nsq
Package nsq is a wrapper of the original "github.com/nsqio/go-nsq" library.
Package nsq is a wrapper of the original "github.com/nsqio/go-nsq" library.
rabbitmq
Package rabbitmq is a wrapper of the original "github.com/streadway/amqp" library.
Package rabbitmq is a wrapper of the original "github.com/streadway/amqp" library.
redis
Package redis is a wrapper of the original "github.com/go-redis/redis/v8" library.
Package redis is a wrapper of the original "github.com/go-redis/redis/v8" library.
playground
Package playground is a wrapper of the original "github.com/go-playground/validator" and "github.com/go-playground/mold" library.
Package playground is a wrapper of the original "github.com/go-playground/validator" and "github.com/go-playground/mold" library.

Jump to

Keyboard shortcuts

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