bolt

package
v0.3.688 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltDbConfig

type BoltDbConfig struct {
	FileName string `mapstructure:"filename"`
}

type BoltDbMQ

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

func (*BoltDbMQ) Close

func (mq *BoltDbMQ) Close() error

Close shuts down the bolt db connection and stops the goroutine associated with the ticker

func (*BoltDbMQ) Delete

func (mq *BoltDbMQ) Delete(ctx context.Context, job *models.Call) error

func (*BoltDbMQ) Push

func (mq *BoltDbMQ) Push(ctx context.Context, job *models.Call) (*models.Call, error)

func (*BoltDbMQ) Reserve

func (mq *BoltDbMQ) Reserve(ctx context.Context) (*models.Call, error)

func (*BoltDbMQ) Start

func (mq *BoltDbMQ) Start()

Jump to

Keyboard shortcuts

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