Categorygithub.com/luopengift/storage
modulepackage
0.0.1
Repository: https://github.com/luopengift/storage.git
Documentation: pkg.go.dev

# README

Storage package

This package is a common store interface

DO NOT used in production environment, It just coding and coding. So sometimes It may change interface function

  • implement such storage

[x] cache [x] etcd [x] file

# Packages

No description provided by the author

# Functions

CacheInit init cache.
Delete delete.
DeleteID delete id.
FileInit file init.
MongoInit mongo init.
MySQLInit init.
New Storager.
Query query.
QueryByPage query page.
Upsert upsert.

# Structs

Cache implement storager interface.
File implement storager interface.
No description provided by the author
MongoDBConfig config.
MySQL mysql.

# Interfaces

Configer config interface.
Connecter interface.
Storager is a commen store interface.