mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-12-04 14:46:37 -05:00
16 lines
314 B
Go
16 lines
314 B
Go
|
package hackernews
|
||
|
|
||
|
func (sys *System) Connect(sysURL string) error {
|
||
|
// Credentials
|
||
|
credentials := make(map[string]string)
|
||
|
credentials["username"] = ""
|
||
|
credentials["password"] = ""
|
||
|
|
||
|
if sys.config == nil {
|
||
|
sys.config = make(map[string]interface{})
|
||
|
}
|
||
|
sys.config["credentials"] = credentials
|
||
|
|
||
|
return nil
|
||
|
}
|