ballistic

package module
v0.0.0-...-63e5ba4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

ballistic

Actions Status Go Reference Go Report Card codecov

TODO

  • Coverage test
  • Resolve dump panic

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataModel

type DataModel interface {
	encoding.BinaryMarshaler
	encoding.BinaryUnmarshaler

	SQL() string
	ToExec() []interface{}
}

type Pool

type Pool interface {
	Append(models []DataModel) error
	Push(model DataModel) error
	Eject(limit int) (models []DataModel, err error)
}

type Queue

type Queue interface {
	Push(model encoding.BinaryMarshaler) error
	Eject(limit int) (models []interface{}, err error)
	Len() int
}

Directories

Path Synopsis
queue

Jump to

Keyboard shortcuts

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