Coder Social home page Coder Social logo

flow-ws's Introduction

Flow Websocket

Flow websocket sender/reciever for messages

Currently in development

To set up:

extract project to $GOPATH/src/flow-ws. Ex: $GOPATH/src/flow-ws/main.go

cd $GOPATH/src/flow-ws
go get

for local development, I recommend rerun to autobuild when changes are made. https://github.com/skelterjohn/rerun

Once rerun is installed

rerun flow-ws

Alternatively: use full path to rerun if $GOPATH/bin is not set in environment variables

/path/to/rerun.exe flow-ws

Configuration file path must be defined. FLOWCONFIG environment variable must be set to config.json. Ex:

export FLOWCONFIG=$GOPATH/config.json

config.json contains:

{ "vars": { "gorpDatabaseType": "sqlite3", "gorpDatabaseUri": "E:/projects/rhizo-server/main/rhizo.db", "debugMode": "false", "listenPort": ":8000" } }

// gorpDatabaseType = "mysql", "sqllite3", "postgresql". This is the driver type // gorpDatabaseUri = authenticated string to connect to database, or path to database if run on a socket connection. This is specific to the DB driver used. See https://github.com/go-sql-driver/mysql#examples for mysql examples of TCP and socket connections.

Included "database/sql" drivers are "mysql", "sqllite3", "postgresql".

flow-ws's People

Contributors

petersand avatar rickyoh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.