github.com/Axway/agent-sdk@v1.1.101/samples/watchclient/pkg/client/types.go (about) 1 package client 2 3 import ( 4 "github.com/Axway/agent-sdk/pkg/apic/auth" 5 ) 6 7 // Config the configuration for the Watch client 8 type Config struct { 9 TenantID string `mapstructure:"tenant_id"` 10 Host string `mapstructure:"host"` 11 Port uint32 `mapstructure:"port"` 12 UseHarvester bool `mapstructure:"use_harvester"` 13 HarvesterHost string `mapstructure:"harvester_host"` 14 HarvesterPort uint32 `mapstructure:"harvester_port"` 15 HarvesterProtocol string `mapstructure:"harvester_protocol"` 16 Insecure bool `mapstructure:"insecure"` 17 Auth auth.Config `mapstructure:"auth"` 18 TopicSelfLink string `mapstructure:"topic_self_link"` 19 Level string `mapstructure:"log_level"` 20 Format string `mapstructure:"log_format"` 21 }