go-zero/core/discov/accountregistry.go

8 lines
183 B
Go
Raw Normal View History

package discov
import "github.com/tal-tech/go-zero/core/discov/internal"
func RegisterAccount(endpoints []string, user, pass string) {
internal.AddAccount(endpoints, user, pass)
}