mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
irc operators
This commit is contained in:
parent
6367e4b654
commit
8a90634c0a
5 changed files with 72 additions and 17 deletions
|
|
@ -6,10 +6,16 @@ import (
|
|||
)
|
||||
|
||||
type Config struct {
|
||||
Name string
|
||||
Listen string
|
||||
Password string
|
||||
Operators []OperatorConfig
|
||||
Debug map[string]bool
|
||||
}
|
||||
|
||||
type OperatorConfig struct {
|
||||
Name string
|
||||
Listen string
|
||||
Password string
|
||||
Debug map[string]bool
|
||||
}
|
||||
|
||||
func LoadConfig() (config *Config, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue