consul

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: MIT Imports: 5 Imported by: 0

README

GoZix Consul

Dependencies

Configuration

{
  "consul": {
    "host": "127.0.0.1",
    "port": "8500",
    "scheme": "http"
  }
}

Documentation

Overview

Package consul provide gozix bundle implementation.

Index

Constants

View Source
const BundleName = "consul"

BundleName is default definition name.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct{}

Bundle implements the glue.Bundle interface.

func NewBundle

func NewBundle() *Bundle

NewBundle create bundle instance.

func (*Bundle) Build

func (b *Bundle) Build(builder *di.Builder) error

Build implements the glue.Bundle interface.

func (*Bundle) DependsOn

func (b *Bundle) DependsOn() []string

DependsOn implements the glue.DependsOn interface.

func (*Bundle) Name

func (b *Bundle) Name() string

Key implements the glue.Bundle interface.

type Client

type Client = api.Client

Client is type alias of api.Client

type KVPair

type KVPair = api.KVPair

KVPair type alias of api.KVPair.

type QueryMeta

type QueryMeta = api.QueryMeta

QueryMeta type alias of api.QueryMeta.

Jump to

Keyboard shortcuts

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