Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b0ch3nski/go-starlink
Simple Golang client to interact with SpaceX Starlink dish.
https://github.com/b0ch3nski/go-starlink
golang metrics monitoring spacex spacex-api starlink
Last synced: 1 day ago
JSON representation
Simple Golang client to interact with SpaceX Starlink dish.
- Host: GitHub
- URL: https://github.com/b0ch3nski/go-starlink
- Owner: b0ch3nski
- License: apache-2.0
- Created: 2023-10-08T19:34:04.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-21T12:10:33.000Z (17 days ago)
- Last Synced: 2024-10-30T10:04:49.569Z (8 days ago)
- Topics: golang, metrics, monitoring, spacex, spacex-api, starlink
- Language: Go
- Homepage:
- Size: 1.7 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-starlink
[![license](https://img.shields.io/github/license/b0ch3nski/go-starlink)](LICENSE)
[![commit](https://img.shields.io/github/last-commit/b0ch3nski/go-starlink/master)](https://github.com/b0ch3nski/go-starlink/commits/master)
[![go.dev](https://pkg.go.dev/badge/github.com/b0ch3nski/go-starlink)](https://pkg.go.dev/github.com/b0ch3nski/go-starlink)
[![goreportcard](https://goreportcard.com/badge/github.com/b0ch3nski/go-starlink)](https://goreportcard.com/report/github.com/b0ch3nski/go-starlink)
[![issues](https://img.shields.io/github/issues/b0ch3nski/go-starlink)](https://github.com/b0ch3nski/go-starlink/issues)
[![sourcegraph](https://sourcegraph.com/github.com/b0ch3nski/go-starlink/-/badge.svg)](https://sourcegraph.com/github.com/b0ch3nski/go-starlink)Simple Golang client to interact with SpaceX Starlink dish, based on Proto files acquired from Dishy itself using
[GRPC Server Reflection][reflection] and [grpcurl][grpcurl] tool.For a code generation procedure, see included [Makefile](Makefile).
[reflection]: https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
[grpcurl]: https://github.com/fullstorydev/grpcurl## install
```
go get github.com/b0ch3nski/go-starlink@latest
```## example
```go
import "github.com/b0ch3nski/go-starlink/starlink"ctx := context.Background()
starlinkClient, _ := starlink.NewClient(ctx, starlink.DefaultDishyAddr)
starlinkStatus,_ := starlinkClient.Status(ctx)fmt.Println(starlinkStatus)
```