Versions in this module Expand all Collapse all v0 v0.5.0 Jan 7, 2024 Changes in this version + type BinaryValue struct + Sensitive bool + Value []byte + type ChannelMetadata struct + ChannelID uint64 + Connection ConnectionAuthenticatedMetadata + type ConnectionAuthPendingMetadata struct + ClientVersion string + Username string + func NewTestAuthenticatingMetadata(username string) ConnectionAuthPendingMetadata + func (c ConnectionAuthPendingMetadata) AuthFailed() ConnectionAuthenticatedMetadata + func (c ConnectionAuthPendingMetadata) Authenticated(username string) ConnectionAuthenticatedMetadata + type ConnectionAuthenticatedMetadata struct + AuthenticatedUsername string + func (c *ConnectionAuthenticatedMetadata) Merge(newMeta ConnectionAuthenticatedMetadata) ConnectionAuthenticatedMetadata + func (meta ConnectionAuthenticatedMetadata) Channel(channelID uint64) ChannelMetadata + type ConnectionMetadata struct + ConnectionID string + Environment map[string]Value + Files map[string]BinaryValue + Metadata map[string]Value + RemoteAddress RemoteAddress + func NewTestMetadata() ConnectionMetadata + func (meta *ConnectionMetadata) GetEnvironment() map[string]Value + func (meta *ConnectionMetadata) GetFiles() map[string]BinaryValue + func (meta *ConnectionMetadata) GetMetadata() map[string]Value + func (meta *ConnectionMetadata) Merge(newMeta ConnectionMetadata) + func (meta ConnectionMetadata) StartAuthentication(clientVersion string, username string) ConnectionAuthPendingMetadata + type RemoteAddress net.TCPAddr + func (r *RemoteAddress) UnmarshalJSON(input []byte) error + func (r *RemoteAddress) UnmarshalText(input []byte) error + func (r RemoteAddress) AddrPort() netip.AddrPort + func (r RemoteAddress) MarshalJSON() ([]byte, error) + func (r RemoteAddress) MarshalText() ([]byte, error) + func (r RemoteAddress) Network() string + func (r RemoteAddress) String() string + type Value struct + Sensitive bool + Value string