Consul::Service
Inherits Reference / Object
Constructors
new(id : String | Nil = nil, name : String = "", service : String = "", address : String | Nil = nil, tags : Array(String) = [] of String, port : Int32 = 0, tag_override : Bool = false, meta : Hash(String, String) = {} of String => String, check : Hash(String, String) = {} of String => String)
SourceInstance methods
address
Sourceaddress=(address : Nil | String)
Sourcecheck
Sourcecheck=(check : Hash(String, String))
Sourceid
Sourceid=(id : Nil | String)
Sourcemeta
Sourcemeta=(meta : Hash(String, String))
Sourcename
Sourcename=(name : String)
Sourceport
Sourceport=(port : Int32)
Sourceservice
Sourceservice=(service : String)
Sourcetag_override
Sourcetag_override=(tag_override : Bool)
Sourcetags
Sourcetags=(tags : Array(String))
Source