sketch-canvas

module
v0.0.0-...-42ea651 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0

README

Sketch Canvas

Go Report Card Apache 2 License Go Version test golangci-lint

Quick Start

You can use docker-compose to run the whole stack:

$ docker-compose up

The server will be available at http://localhost:8800. If the port is not available, you can customize the port by editing the canvas command in docker-compose.yml.

You can check the API documentation for instruction on how to access the server.

Postman

You can use Postman to test the API directly. Use the provided postman collection file to get predefined queries to use with the server.

Command line parameters

-s, --datastore string            the hostname of the redis datastore (default "localhost:6379")
    --datastore-db int            the database to be selected on the redis server
    --datastore-password string   the password of the redis server
    --debug                       debug mode
-w, --graceful-timeout duration   the duration for which the server gracefully wait for existing connections to finish - e.g. 15s or 1m (default 15s)
-p, --port int                    the port number of the canvas server (default 8800)
-v, --verbose                     verbose mode

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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