sync

package
v0.0.0-...-7001546 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Interval time.Duration
}

type Sync

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

func New

func New(marathon marathon.Marathoner, service service.ConsulServices) *Sync

func (*Sync) StartSyncServicesJob

func (s *Sync) StartSyncServicesJob(interval time.Duration) *time.Ticker

func (*Sync) SyncServices

func (s *Sync) SyncServices() error

Jump to

Keyboard shortcuts

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