Skip to content

PKUHPC/scow-go-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Go project to use SCOW API and Hook

Prerequisites

Commands

# Use a specific SCOW API version to generate proto files
# starting from v0.3.0
SCOW_API_VERSION=v0.3.0 make protos

# Download modules
go mod tidy

# Run Client call that calls SCOW API
# Make sure SCOW mis-server is listening on 192.168.88.100:7571
# Run
make run-api

# If your API has setup token authentication, set your token by env SCOW_API_TOKEN
SCOW_API_TOKEN={Token} make run api

# Run Hook server at 5000
make run-hook

About

Example project to use SCOW API in a Go project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published