Skip to content

cidverse/cid-sdk-go

Repository files navigation

CID - Go SDK

go sdk for cid

Configuration

The SDK will detect the endpoint (unix socket or http api) automatically when initialized as part of a action or workflow run based on the follwing envionrment properties:

Property Description
CID_API_SOCKET unix socket file
CID_API_ADDR http endpoint
CID_API_SECRET temporary api key to securely access the api

For local testing run cid api and set CID_API_ADDR to http://localhost:7400.

Code Example

// sdk
cid, _ := cidsdk.NewSDK()
currentModule, _ := cid.CurrentModule()

License

Released under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages