caaas

command module
v0.0.0-...-8283029 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: MIT Imports: 24 Imported by: 0

README

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)
);

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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