class Consul::Service

Defined in:

consul/models/service.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def address : String? #

[View source]
def address=(address : Nil | String) #

[View source]
def check : Hash(String, String) #

[View source]
def check=(check : Hash(String, String)) #

[View source]
def id : String? #

[View source]
def id=(id : Nil | String) #

[View source]
def meta : Hash(String, String) #

[View source]
def meta=(meta : Hash(String, String)) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def service : String #

[View source]
def service=(service : String) #

[View source]
def tag_override : Bool #

[View source]
def tag_override=(tag_override : Bool) #

[View source]
def tags : Array(String) #

[View source]
def tags=(tags : Array(String)) #

[View source]