element/proxy/update.go
Evan Hazlett a89aa40dda
proxy: start on api and caddy based proxy
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-07-29 22:54:43 -04:00

10 lines
129 B
Go

package proxy
func (p *Proxy) Update(config *Config) error {
p.m.Lock()
defer p.m.Unlock()
p.config = config
return nil
}