File: format.go

package info (click to toggle)
balboa 2.0.0%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,308 kB
  • sloc: ansic: 10,581; makefile: 160; python: 127; sh: 60
file content (11 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
// balboa
// Copyright (c) 2018, DCSO GmbH

package format

import "github.com/DCSO/balboa/observation"

// MakeObservationFunc is a function that accepts a byte array with input
// obtained from a feeder, a sensor ID, a channel for the generated
// InputObservations, and a channel to signal a stop.
type MakeObservationFunc func([]byte, string, chan observation.InputObservation, chan bool) error