repositories

package
v0.0.0-...-68faada Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetConsulClient

func SetConsulClient(config config.ConsulConfig)

Types

type ConsulRepository

type ConsulRepository struct {
	zone.Repository
}

func (ConsulRepository) Get

func (r ConsulRepository) Get(name string) (zone.Zone, error)

func (ConsulRepository) Put

func (r ConsulRepository) Put(name, zone string) bool

type FileRepository

type FileRepository struct {
	zone.Repository
}

func (FileRepository) Get

func (r FileRepository) Get(name string) (zone.Zone, error)

func (FileRepository) Put

func (r FileRepository) Put(name, zone string) bool

Jump to

Keyboard shortcuts

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