class Consul::Service
- Consul::Service
- Reference
- Object
Defined in:
consul/models/service.crConstructors
Instance Method Summary
- #address : String?
- #address=(address : Nil | String)
- #check : Hash(String, String)
- #check=(check : Hash(String, String))
- #id : String?
- #id=(id : Nil | String)
- #meta : Hash(String, String)
- #meta=(meta : Hash(String, String))
- #name : String
- #name=(name : String)
- #port : Int32
- #port=(port : Int32)
- #service : String
- #service=(service : String)
- #tag_override : Bool
- #tag_override=(tag_override : Bool)
- #tags : Array(String)
- #tags=(tags : Array(String))
Constructor Detail
def self.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)
#