yaml - ActiveState ActiveGo 1.8
...

Package yaml

import "github.com/coreos/etcd/clientv3/yaml"
Overview
Index

Overview ▾

Package yaml handles yaml-formatted clientv3 configuration data.

func NewConfig

func NewConfig(fpath string) (*clientv3.Config, error)

NewConfig creates a new clientv3.Config from a yaml file.