consul

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulJobDB

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

func New

func New(address string) *ConsulJobDB

func (*ConsulJobDB) Close

func (db *ConsulJobDB) Close() error

func (*ConsulJobDB) Delete

func (db *ConsulJobDB) Delete(id string) error

func (*ConsulJobDB) Get

func (db *ConsulJobDB) Get(id string) (*job.Job, error)

func (*ConsulJobDB) GetAll

func (db *ConsulJobDB) GetAll() ([]*job.Job, error)

func (*ConsulJobDB) Save

func (db *ConsulJobDB) Save(j *job.Job) error

Jump to

Keyboard shortcuts

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