benchmark

package
v0.0.0-...-84753b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(apiKey string, apiURL string) (*grpc.ClientConn, error)

Dial opens a gRPC connection to the StellarStation API with authentication setup.

Types

type SatelliteStream

type SatelliteStream interface {
	Send(payload []byte) error

	io.Closer
}

SatelliteStream is the interface for the stream

func OpenSatelliteStream

func OpenSatelliteStream(o *SatelliteStreamOptions, recvChan chan<- *stellarstation.ReceiveTelemetryResponse) (SatelliteStream, error)

OpenSatelliteStream opens a stream to a satellite over the StellarStation API.

type SatelliteStreamOptions

type SatelliteStreamOptions struct {
	AcceptedFraming []stellarstation.Framing

	SatelliteID string
	APIKey      string
	Endpoint    string
}

SatelliteStreamOptions contains options for opening a satellite stream

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL