sdk

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 9 Imported by: 0

README

ETCD SDK

ETCDSDK

快速上手

package main

import (
  etcdsdk "github.com/asr-go/etcdsdk"
)

func main() {
  cnf := new(interface{})
  loader := etcdsdk.EtcdLoader{}
  loader.NewConfig(cnf)
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdLoader

type EtcdLoader struct {

	// Cnf ...
	Cnf interface{}
	// contains filtered or unexported fields
}

EtcdLoader ...

func (*EtcdLoader) NewConfig

func (l *EtcdLoader) NewConfig(etcdEndpoints string, etcdConfigPath string, cnf interface{})

NewConfig 加载参数

Jump to

Keyboard shortcuts

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