services

package
v0.0.0-...-92f7fd9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AISMessage

type AISMessage struct {
	MessageType string          `json:"messageType"`
	Message     json.RawMessage `json:"message"`
	MetaData    json.RawMessage `json:"metaData"`
}

Simple message type if we don't want to use aisstream package

type AISStreamManager

type AISStreamManager struct {
	// contains filtered or unexported fields
}

func NewAISStreamManager

func NewAISStreamManager(apiKey string, database *sql.DB) *AISStreamManager

func (*AISStreamManager) StartStreaming

func (a *AISStreamManager) StartStreaming(mmsis []string) error

Jump to

Keyboard shortcuts

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