1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-10-30 23:27:41 +02:00
Files
go-micro/plugins/registry/etcdv3/options.go
2020-12-26 15:32:45 +00:00

12 lines
258 B
Go

package etcdv3
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)
}