Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Latest commit

 

History

History

storage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Storage

One interface to connect many of database, This package is aimed not only used for codenoid/file.io

Installation

go get -u github.com/codenoid/file.io/storage

Storage Support

  • Redis
  • MongoDB
  • MySQL
  • PostgreSQL
  • Cloud Storage (Google)
  • File

Example Usage

import "github.com/codenoid/file.io/storage"

// type:https://user:pass@host:port/database
stg, err := storage.Connect("redis:https://127.0.0.1:6379/0")

// then you can call this function
stg.Set()
stg.Get()
Stg.Del()