Lines Matching refs:ServerConfig
30 type ServerConfig struct { struct
63 func (c *ServerConfig) VerifyBootstrap() error { argument
78 func (c *ServerConfig) VerifyJoinExisting() error { argument
97 func (c *ServerConfig) verifyLocalMember(strict bool) error { argument
117 func (c *ServerConfig) MemberDir() string { return path.Join(c.DataDir, "member") } argument
119 func (c *ServerConfig) WALDir() string { argument
126 func (c *ServerConfig) SnapDir() string { return path.Join(c.MemberDir(), "snap") } argument
128 func (c *ServerConfig) ShouldDiscover() bool { return c.DiscoveryURL != "" } argument
131 func (c *ServerConfig) ReqTimeout() time.Duration { argument
137 func (c *ServerConfig) electionTimeout() time.Duration { argument
141 func (c *ServerConfig) peerDialTimeout() time.Duration { argument
147 func (c *ServerConfig) PrintWithInitial() { c.print(true) } argument
149 func (c *ServerConfig) Print() { c.print(false) } argument
151 func (c *ServerConfig) print(initial bool) { argument
191 func (c *ServerConfig) bootstrapTimeout() time.Duration { argument