consul

package
v0.0.0-...-95f6be2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2015 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Service     string
	Datacenters []string
	OnlyPassing bool
	Tags        []string
	Attrs       map[string]string
	// contains filtered or unexported fields
}

consul.Service: query object generated from config

func ServiceFromRaw

func ServiceFromRaw(name string, raw map[string]interface{}) *Service

func (*Service) HostRecordList

func (s *Service) HostRecordList() discoteq.ServiceHostRecordList

func (*Service) Name

func (s *Service) Name() string

Jump to

Keyboard shortcuts

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