{"id":15571331,"url":"https://github.com/fishwaldo/go-dcdc200","last_synced_at":"2026-02-17T01:33:03.153Z","repository":{"id":42436227,"uuid":"408850145","full_name":"Fishwaldo/go-dcdc200","owner":"Fishwaldo","description":"Golang Package for mini-box dcdc-usb power supply","archived":false,"fork":false,"pushed_at":"2025-02-17T14:01:25.000Z","size":60,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T03:03:58.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Fishwaldo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-21T14:21:17.000Z","updated_at":"2025-02-16T04:26:34.000Z","dependencies_parsed_at":"2024-06-20T02:48:44.473Z","dependency_job_id":"c54f366f-1085-423d-ac87-eb6d61636b98","html_url":"https://github.com/Fishwaldo/go-dcdc200","commit_stats":null,"previous_names":["fishwaldo/go-dcdcusb200"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fishwaldo%2Fgo-dcdc200","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fishwaldo%2Fgo-dcdc200/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fishwaldo%2Fgo-dcdc200/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fishwaldo%2Fgo-dcdc200/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fishwaldo","download_url":"https://codeload.github.com/Fishwaldo/go-dcdc200/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-02T17:59:07.486Z","updated_at":"2026-02-17T01:33:03.101Z","avatar_url":"https://github.com/Fishwaldo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-LogAdapter\n\n[![codecov](https://codecov.io/gh/Fishwaldo/go-dcdc200/branch/master/graph/badge.svg)](https://codecov.io/gh/Fishwaldo/go-dcdc200)\n[![GoDoc](https://img.shields.io/badge/pkg.go.dev-doc-blue)](http://pkg.go.dev/github.com/Fishwaldo/go-dcdc200)\n\nPackage go-dcdcusb interfaces with the DCDCUSB power supply from mini-box ([https://www.mini-box.com/DCDC-USB](https://www.mini-box.com/DCDC-USB))\nvia USB port and allows you to retrive the status of the power supply\n\nit depends upon GoUSB which in turn depends upon the libusb C library, thus CGO is required for this module\n\n## Please see the GoUSB pages for hints on compiling for platforms other than linux\n\nBuilding\n\nCompile with the tag nogousb to disable compiling with USB Support. Then the only option available\nis a Simulator Mode that replays a previously captured session.\n\n## Sub Packages\n\n* [cmd](./cmd)\n\n## Examples\n\n```golang\n\ndc := dcdcusb.DcDcUSB{}\nlogsink := log.New(os.Stdout, \"\", 0)\nlog := stdr.New(logsink)\n\ndc.Init(log, false)\nif ok, err := dc.Scan(); !ok {\n    log.Error(err, \"Scan Failed\")\n    return\n}\ndefer dc.Close()\nfor i := 0; i \u003c 100; i++ {\n    ctx, cancel := context.WithTimeout(context.Background(), (1 * time.Second))\n    dc.GetAllParam(ctx)\n    cancel()\n    time.Sleep(1 * time.Second)\n}\ndc.Close()\n\n```\n\n---\nReadme created from Go doc with [goreadme](https://github.com/posener/goreadme)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffishwaldo%2Fgo-dcdc200","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffishwaldo%2Fgo-dcdc200","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffishwaldo%2Fgo-dcdc200/lists"}