github.com/crowdsecurity/crowdsec@v1.6.1/pkg/apiclient/config.go (about) 1 package apiclient 2 3 import ( 4 "net/url" 5 6 "github.com/go-openapi/strfmt" 7 ) 8 9 type Config struct { 10 MachineID string 11 Password strfmt.Password 12 Scenarios []string 13 URL *url.URL 14 PapiURL *url.URL 15 VersionPrefix string 16 UserAgent string 17 UpdateScenario func() ([]string, error) 18 }