Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*config)
Option to etcd config
func WithAddPeers ¶
WithAddPeers returns add peers option
func WithPeerAddr ¶
WithPeerAddr returns peer address option
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server etcd server
func (*Server) AddOptions ¶
AddOptions add some options when server not running
func (*Server) Ready ¶
func (s *Server) Ready() <-chan struct{}
Ready Returns a channel that will be closed when etcd is ready
Click to show internal directories.
Click to hide internal directories.