core

package
v0.0.0-...-6bf85cd Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package core Created by Teocci. Author: teocci@yandex.com on 2021-Nov-14

Package core Created by RTT. Author: teocci@yandex.com on 2021-Sep-27

Package core Created by RTT. Author: teocci@yandex.com on 2021-Sep-28

Package core Created by RTT. Author: teocci@yandex.com on 2021-Aug-27

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrInitDataIsNil

func ErrInitDataIsNil() error

func HasError

func HasError(e error, fatal bool, format ...string)

func Start

func Start(c datamgr.InitConf) error

Types

type DBLogger

type DBLogger struct {
	DBMgr   *gopg.DB
	Flight  model.Flight
	Inserts int
	// Buffered channel of outbound messages.
	Insert    chan model.FlightRecord
	Done      chan struct{}
	Interrupt chan os.Signal
}

func NewDBLogger

func NewDBLogger(c datamgr.InitConf) *DBLogger

func (*DBLogger) Close

func (c *DBLogger) Close()

Jump to

Keyboard shortcuts

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