mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-28 22:32:16 +03:00
25 lines
373 B
Go
25 lines
373 B
Go
package message
|
|
|
|
import "regexp"
|
|
|
|
// Container for per-user configurations.
|
|
type UserConfig struct {
|
|
Highlight *regexp.Regexp
|
|
Bell bool
|
|
Quiet bool
|
|
Theme *Theme
|
|
Seed int
|
|
}
|
|
|
|
// Default user configuration to use
|
|
var DefaultUserConfig UserConfig
|
|
|
|
func init() {
|
|
DefaultUserConfig = UserConfig{
|
|
Bell: true,
|
|
Quiet: false,
|
|
}
|
|
|
|
// TODO: Seed random?
|
|
}
|