mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-03 00:38:40 +08:00
9 lines
261 B
Go
9 lines
261 B
Go
package discov
|
|
|
|
import "github.com/tal-tech/go-zero/core/discov/internal"
|
|
|
|
// RegisterAccount registers the username/password to the given etcd cluster.
|
|
func RegisterAccount(endpoints []string, user, pass string) {
|
|
internal.AddAccount(endpoints, user, pass)
|
|
}
|