mirror of
https://github.com/coredns/coredns.git
synced 2025-11-09 05:26:21 -05:00
14 lines
189 B
Go
14 lines
189 B
Go
package xds
|
|
|
|
func (c *Client) Nonce() string {
|
|
c.mu.RLock()
|
|
defer c.mu.RUnlock()
|
|
return c.nonce
|
|
}
|
|
|
|
func (c *Client) SetNonce(n string) {
|
|
c.mu.Lock()
|
|
defer c.mu.Unlock()
|
|
c.nonce = n
|
|
}
|