directory
1.12.6
Repository: https://github.com/go-dev-frame/sponge.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package app is starting and stopping services gracefully, using golang.org/x/sync/errgroup to ensure that multiple services are started properly at the same time.
Package cache is memory and redis cache libraries.
Package conf is parsing yaml, json, toml configuration files to go struct.
Package consulcli is connecting to the consul service client.
No description provided by the author
Package dlock provides distributed locking primitives, supports redis and etcd.
Package encoding Provides encoding and decoding of json, protobuf and gob.
Package errcode is used for http and grpc error codes, include system-level error codes and business-level error codes.
Package etcdcli is use for connecting to the etcd service.
Package ggorm is a library wrapped on top of gorm.io/gorm, with added features such as link tracing, paging queries, etc.
No description provided by the author
Package gobash provides the ability to execute commands, scripts, executables in the go environment with live log output.
Package gocron is scheduled task library.
Package gocrypto is commonly used one-way encryption, symmetric encryption and decryption, asymmetric encryption and decryption libraries, including hash, aes, des, rsa.
Package gofile is file and directory management libraries.
Package goredis is a library wrapped on top of github.com/go-redis/redis.
Package gotest is a library that simulates the testing of cache, dao and handler.
No description provided by the author
Package httpcli is http request client, which only supports return json format.
Package jwt is token generation and validation.
Package jy2struct is a library for generating go struct code, supporting json and yaml.
Package kafka is a kafka client package.
Package krand is a library for generating random strings, integers, floating point numbers.
Package logger is log library encapsulated in https://github.com/uber-go/zap Support for terminal printing and log saving.
Package mgo is a library wrapped on go.mongodb.org/mongo-driver/mongo, with added features paging queries, etc.
Package nacoscli provides for getting the configuration from the nacos configuration center and parse it into a structure.
Package prof is wrap the official `net/http/pprof` route and add the profile io wait time route.
Package rabbitmq is a go wrapper for github.com/rabbitmq/amqp091-go producer and consumer using the five types direct, topic, fanout, headers, x-delayed-message.
Package replacer is a library of replacement file content, supports replacement of files in local directories and embedded directory files via embed.
No description provided by the author
Package sgorm is a library encapsulated on gorm.io/gorm.
No description provided by the author
Package sql2code provides for generating code for different purposes according to sql, support generating json, gorm model, update parameter, request parameter code, sql can be obtained from parameter, file, db three ways, priority from high to low.
Package stat provides for counting system and process cpu and memory information, alarm notification support.
Package tracer is a library wrapped in go.opentelemetry.io/otel.
Package utils is a library of commonly used utility functions.
Package ws provides a websocket server implementation.