Skip to content

Simple Golang client to interact with SpaceX Starlink dish.

License

Notifications You must be signed in to change notification settings

b0ch3nski/go-starlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-starlink

license commit go.dev goreportcard issues sourcegraph

Simple Golang client to interact with SpaceX Starlink dish, based on Proto files acquired from Dishy itself using GRPC Server Reflection and grpcurl tool.

For a code generation procedure, see included Makefile.

install

go get github.com/b0ch3nski/go-starlink@latest

example

import "github.com/b0ch3nski/go-starlink/starlink"

ctx := context.Background()

starlinkClient, _ := starlink.NewClient(ctx, starlink.DefaultDishyAddr)
starlinkStatus,_ := starlinkClient.Status(ctx)

fmt.Println(starlinkStatus)