Skip to content

fzxu/caaas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caaas

Assets(Images for now) as a Service written in Go and stores in Cassandra

The idea and funtions are exactly the same as This one But written in Golang.

Create the keyspace and tables

CREATE KEYSPACE aaas WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };

USE aaas;

CREATE TABLE assets (
    id timeuuid PRIMARY KEY,
    binary blob,
    contenttype text,
    createdat timestamp,
    name text,
    path text
);

CREATE TABLE assetbypaths (
    path text,
    id timeuuid,
    name text,
    PRIMARY KEY (path, id)
);

About

Assets(Images for now) as a Service written in Go and stores in Cassandra

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages