struct Circed::Network::NetworkState::UserInfo

Overview

User information structure - using struct for performance

Defined in:

circed/network/network_state.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(nickname : String, username : String, hostname : String, realname : String, server : String, hopcount : Int32 = 0) #

[View source]

Instance Method Detail

def away_message : String | Nil #

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

[View source]
def connected_at : Time #

[View source]
def hopcount : Int32 #

[View source]
def hostmask : String #

Cached hostmask generation for better performance


[View source]
def hostname : String #

[View source]
def modes : Set(Char) #

[View source]
def modes=(modes : Set(Char)) #

[View source]
def nickname : String #

[View source]
def realname : String #

[View source]
def server : String #

[View source]
def username : String #

[View source]