visualtez-storage

module
v0.0.0-...-4c384aa Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT

README

VisualTez Storage

Setup MongoDB

docker run \
    --name visualtez-storage -d \
    -e MONGO_INITDB_ROOT_USERNAME=<user> \
    -e MONGO_INITDB_ROOT_PASSWORD=<password> \
    -p 27017:27017 mongo

Schema Setup

# Inside mongo shell
> use visualtez;
> db.sharings.createIndex( { "hash": 1 }, { unique: true } )

Directories

Path Synopsis
cmd
api command
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
internal
pkg

Jump to

Keyboard shortcuts

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