This is a microservice for the infrastructure as a service environment.
This uses godep
as to manage the project dependencies, to install it go get the package using go get github.com/tools/godep
. Then move to the project directory and use godep restore
, if a new dependency is added use godep save
.
A configuration file must be provided, the default route for the file is located at /etc/digital-ocean-service.conf
, the template is the next:
---
clientID: asdfg
clientSecret: aoihcou
redirectURI: http://localhost/oauth
apihost: http://api.example
port: 1000
scopes:
- read
- write
The default path can be override using the flag --conf
.