mirror of
https://github.com/go-micro/go-micro.git
synced 2025-05-19 21:23:04 +02:00
12 lines
256 B
Go
12 lines
256 B
Go
|
package etcd
|
||
|
|
||
|
import (
|
||
|
"github.com/micro/go-micro/v2/registry"
|
||
|
"github.com/micro/go-micro/v2/registry/etcd"
|
||
|
)
|
||
|
|
||
|
// Auth allows you to specify username/password
|
||
|
func Auth(username, password string) registry.Option {
|
||
|
return etcd.Auth(username, password)
|
||
|
}
|