1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-05-19 21:23:04 +02:00

12 lines
256 B
Go
Raw Normal View History

2020-12-26 15:32:45 +00:00
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)
}