(key string)
| 498 | } |
| 499 | |
| 500 | func (u *UserRecord) GetConfigOption(key string) any { |
| 501 | if u.ConfigOptions == nil { |
| 502 | u.ConfigOptions = make(map[string]any) |
| 503 | } |
| 504 | if value, ok := u.ConfigOptions[key]; ok { |
| 505 | return value |
| 506 | } |
| 507 | return nil |
| 508 | } |
| 509 | |
| 510 | func (u *UserRecord) GetConnectTime() time.Time { |
| 511 | return u.connectionTime |
no outgoing calls
no test coverage detected