Struct cotoxy::ConsulSettings [] [src]

pub struct ConsulSettings { /* fields omitted */ }

Settings for Consul.

Methods

impl ConsulSettings
[src]

DEFAULT_CONSUL_ADDR: &'static str = "127.0.0.1:8500"

The default consul agent address.

[src]

Makes a new ConsulSettings instance.

[src]

Sets the address of the consul agent used by ProxyServer.

The default value is ConsulSettings::DEFAULT_CONSUL_ADDR.

[src]

Sets the value of the dc query parameter of List Nodes for Service API.

[src]

Sets the value of the tag query parameter of List Nodes for Service API.

[src]

Sets the value of the near query parameter of List Nodes for Service API.

[src]

Adds an entry for the node-meta query parameter of List Nodes for Service API.

Trait Implementations

impl Debug for ConsulSettings
[src]

[src]

Formats the value using the given formatter.

impl Clone for ConsulSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more