package
0.0.0-20240201022239-0ae679bc1fb1
Repository: https://github.com/peakchen/go-zero.git
Documentation: pkg.go.dev
# Functions
Exclusive means that key value can only be 1:1, which means later added value will remove the keys associated with the same value previously.
NewPublisher returns a Publisher.
NewSubscriber returns a Subscriber.
RegisterAccount registers the username/password to the given etcd cluster.
RegisterTLS registers the CertFile/CertKeyFile/CACertFile to the given etcd.
WithId customizes a Publisher with the id.
WithPubEtcdAccount provides the etcd username/password.
WithPubEtcdTLS provides the etcd CertFile/CertKeyFile/CACertFile.
WithSubEtcdAccount provides the etcd username/password.
WithSubEtcdTLS provides the etcd CertFile/CertKeyFile/CACertFile.
# Variables
TimeToLive is seconds to live in etcd.
# Structs
EtcdConf is the config item with the given key on etcd.
No description provided by the author
No description provided by the author