~ecs/quaternia

f4baf5ef372008a5d31ecfd37580217ec988f45e — Eyal Sawady 13 days ago 693090d
Drop MPD config options
3 files changed, 0 insertions(+), 12 deletions(-)

M config.go
M go.mod
M go.sum
M config.go => config.go +0 -8
@@ 18,8 18,6 @@ type ServerConfig struct {
	RegexSg int
	OpNick  string
	URLFmt  string
	MPDURL  string
	MPDPort uint
	Name    string
	WAID    string
	OWMKey  string


@@ 57,10 55,6 @@ func ParseConfig(path string) (*Config, error) {
		if err != nil {
			return nil, err
		}
		mpdport, err := s.Key("mpdport").Uint()
		if err != nil {
			return nil, err
		}
		var sasl girc.SASLMech = nil
		if s.Key("sasluser") != nil && s.Key("saslpass") != nil {
			sasl = &girc.SASLPlain{


@@ 87,8 81,6 @@ func ParseConfig(path string) (*Config, error) {
			RegexSg: rsg,
			OpNick:  s.Key("opnick").String(),
			URLFmt:  s.Key("urlfmt").String(),
			MPDURL:  s.Key("mpdurl").String(),
			MPDPort: mpdport,
			Name:    s.Name(),
			WAID:    s.Key("wolframid").String(),
			OWMKey:  s.Key("owm-key").String(),

M go.mod => go.mod +0 -1
@@ 35,7 35,6 @@ require (
	github.com/smartystreets/goconvey v1.6.4 // indirect
	github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
	github.com/traefik/yaegi v0.9.8
	github.com/vincent-petithory/mpdclient v0.0.0-20131127195701-fcdd32727c9f
	golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb // indirect
	golang.org/x/text v0.3.4 // indirect
	gonum.org/v1/gonum v0.8.2 // indirect

M go.sum => go.sum +0 -3
@@ 27,7 27,6 @@ github.com/antchfx/xmlquery v1.3.3 h1:HYmadPG0uz8CySdL68rB4DCLKXz2PurCjS3mnkVF4C
github.com/antchfx/xmlquery v1.3.3/go.mod h1:64w0Xesg2sTaawIdNqMB+7qaW/bSqkQm+ssPaCMWNnc=
github.com/antchfx/xpath v1.1.6/go.mod h1:Yee4kTMuNiPYJ7nSNorELQMr1J33uOpXDMByNYhvtNk=
github.com/antchfx/xpath v1.1.8/go.mod h1:Yee4kTMuNiPYJ7nSNorELQMr1J33uOpXDMByNYhvtNk=
github.com/antchfx/xpath v1.1.10 h1:cJ0pOvEdN/WvYXxvRrzQH9x5QWKpzHacYO8qzCcDYAg=
github.com/antchfx/xpath v1.1.10/go.mod h1:Yee4kTMuNiPYJ7nSNorELQMr1J33uOpXDMByNYhvtNk=
github.com/antchfx/xpath v1.1.11 h1:WOFtK8TVAjLm3lbgqeP0arlHpvCEeTANeWZ/csPpJkQ=
github.com/antchfx/xpath v1.1.11/go.mod h1:i54GszH55fYfBmoZXapTHN8T8tkcHfRgLyVwwqzXNcs=


@@ 162,8 161,6 @@ github.com/temoto/robotstxt v1.1.1/go.mod h1:+1AmkuG3IYkh1kv0d2qEB9Le88ehNO0zwOr
github.com/traefik/yaegi v0.9.8 h1:sYGKV2d911B9olVsSO/nRmjIh+CQTffAUSzoyv4a4/4=
github.com/traefik/yaegi v0.9.8/go.mod h1:FAYnRlZyuVlEkvnkHq3bvJ1lW5be6XuwgLdkYgYG6Lk=
github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/vincent-petithory/mpdclient v0.0.0-20131127195701-fcdd32727c9f h1:8yhrE5TvHCp94ADmnDljv2JUH9mVoOBpYlSHGL/J6gA=
github.com/vincent-petithory/mpdclient v0.0.0-20131127195701-fcdd32727c9f/go.mod h1:hRjN3C/7dXkM1aOSSih0eHPpOrbBkDJoOlsAitAea8g=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=