mirror of
https://github.com/gosticks/go-hue-interface.git
synced 2025-10-16 11:45:35 +00:00
fix config
This commit is contained in:
parent
41a3c0ba41
commit
2bacde12f2
@ -9,10 +9,10 @@ import (
|
||||
|
||||
// Config hue api config
|
||||
type Config struct {
|
||||
Username string `yaml:name`
|
||||
Password string `yaml:userpassword`
|
||||
BridgeAddr string `yaml:bridgeAddress`
|
||||
BridgeAddrScheme string `yaml:bridgeAddressScheme`
|
||||
Username string `yaml:"name"`
|
||||
Password string `yaml:"userpassword"`
|
||||
BridgeAddr string `yaml:"bridgeAddress"`
|
||||
BridgeAddrScheme string `yaml:"bridgeAddressScheme"`
|
||||
}
|
||||
|
||||
// createNewUser will create a new user. This should be called only of there's none in the yaml config.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user