Files
coredns/plugin/traffic/xds/nonce.go
Miek Gieben cc87277820 more stuff
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-16 16:46:06 +01:00

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
}