{"id":37102281,"url":"https://github.com/oasm-platform/oasm-sdk-go","last_synced_at":"2026-01-14T12:23:47.440Z","repository":{"id":312831954,"uuid":"1045642665","full_name":"oasm-platform/oasm-sdk-go","owner":"oasm-platform","description":"OASM SDK for Go","archived":false,"fork":false,"pushed_at":"2025-10-30T01:08:54.000Z","size":40,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-30T03:22:31.734Z","etag":null,"topics":["go","go-sdk","oasm","oasm-sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oasm-platform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-27T13:51:35.000Z","updated_at":"2025-10-17T03:24:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"09f18726-a4df-48a3-bfbd-473cea9e9450","html_url":"https://github.com/oasm-platform/oasm-sdk-go","commit_stats":null,"previous_names":["oasm-platform/oasm-sdk-go"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/oasm-platform/oasm-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasm-platform%2Foasm-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasm-platform%2Foasm-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasm-platform%2Foasm-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasm-platform%2Foasm-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oasm-platform","download_url":"https://codeload.github.com/oasm-platform/oasm-sdk-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasm-platform%2Foasm-sdk-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","go-sdk","oasm","oasm-sdk"],"created_at":"2026-01-14T12:23:46.926Z","updated_at":"2026-01-14T12:23:47.408Z","avatar_url":"https://github.com/oasm-platform.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OASM SDK for Go\n\n`oasm-sdk-go` is the official Go client for interacting with the **OASM Platform** API.  \nIt provides convenient wrappers for worker management endpoints such as **join** and **keep-alive**.\n\n---\n\n## Installation\n\nUse `go get` to install:\n\n```bash\ngo get -u github.com/oasm-platform/oasm-sdk-go\n````\n\nThen import it in your project:\n\n```go\nimport \"github.com/oasm-platform/oasm-sdk-go/oasm\"\n```\n\n---\n\n## Usage\n\n### Initialize Client\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/oasm-platform/oasm-sdk-go/oasm\"\n)\n\nfunc main() {\n\t// Create a new client with API URL and API key\n\tclient := oasm.NewClient(\n\t\toasm.WithApiURL(\"https://api.oasm.dev\"),\n\t\toasm.WithApiKey(\"your-api-key\"),\n\t)\n\n\t// Join worker\n\tjoinResp, err := client.WorkerJoin()\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to join worker: %v\", err)\n\t}\n\tfmt.Println(\"Worker joined:\", joinResp.Id)\n\n\t// Send keep-alive\n\taliveResp, err := client.WorkerAlive(\u0026oasm.WorkerAliveRequest{\n\t\tToken: joinResp.Token,\n\t})\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to send keep-alive: %v\", err)\n\t}\n\tfmt.Println(\"Worker alive:\", aliveResp.Alive)\n}\n```\n\n---\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasm-platform%2Foasm-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foasm-platform%2Foasm-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasm-platform%2Foasm-sdk-go/lists"}