Documentation ¶
Index ¶
Constants ¶
View Source
const ( RecordsStream = "records" NoiseStream = "noise" )
Stream names
Variables ¶
View Source
var ( ErrNoOngoingRace = errors.New("no ongoing race found") ErrRaceOngoing = errors.New("race already ongoing") )
Functions ¶
This section is empty.
Types ¶
type FatalLogger ¶
type FatalLogger struct{}
func (FatalLogger) Debugf ¶
func (FatalLogger) Debugf(_ string, _ ...interface{})
func (FatalLogger) Errorf ¶
func (FatalLogger) Errorf(_ string, _ ...interface{})
func (FatalLogger) Fatalf ¶
func (FatalLogger) Fatalf(tmpl string, args ...interface{})
func (FatalLogger) Infof ¶
func (FatalLogger) Infof(_ string, _ ...interface{})
type SqliteStorage ¶
type SqliteStorage struct {
// contains filtered or unexported fields
}
func NewSqliteStorage ¶
func NewSqliteStorage(dsn string) (*SqliteStorage, error)
func (*SqliteStorage) Save ¶
func (s *SqliteStorage) Save(passing tranx2.Passing) (rec Record, err error)
type SsePublisher ¶
func NewSsePublisher ¶
func NewSsePublisher() *SsePublisher
func (*SsePublisher) PublishNoise ¶
func (s *SsePublisher) PublishNoise(noise uint16)
func (*SsePublisher) PublishRecord ¶
func (s *SsePublisher) PublishRecord(rec Record)
Click to show internal directories.
Click to hide internal directories.