Documentation ¶
Index ¶
- func ValidateHttpServerConfig(conf *HttpServiceConf, serviceName string)
- func ValidateKafkaConsumerServiceConfig(conf *KafkaConsumerServiceConf, serviceName string)
- func ValidateKafkaProducerConfig(conf *KafkaProducerConf, serviceName string)
- func ValidatePcapServerConfig(conf *PcapServiceConf, serviceName string)
- func ValidateStatServerConfig(conf *StatServiceConf, serviceName string)
- func ValidateUdpServerConfig(conf *UdpServiceConf, serviceName string)
- type HttpServiceConf
- type KafkaConsumerServiceConf
- type KafkaProducerConf
- type PcapServiceConf
- type ServiceConf
- type ServiceList
- type StatServiceConf
- type UdpServiceConf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHttpServerConfig ¶
func ValidateHttpServerConfig(conf *HttpServiceConf, serviceName string)
func ValidateKafkaConsumerServiceConfig ¶
func ValidateKafkaConsumerServiceConfig(conf *KafkaConsumerServiceConf, serviceName string)
func ValidateKafkaProducerConfig ¶
func ValidateKafkaProducerConfig(conf *KafkaProducerConf, serviceName string)
func ValidatePcapServerConfig ¶ added in v1.1.3
func ValidatePcapServerConfig(conf *PcapServiceConf, serviceName string)
func ValidateStatServerConfig ¶
func ValidateStatServerConfig(conf *StatServiceConf, serviceName string)
func ValidateUdpServerConfig ¶
func ValidateUdpServerConfig(conf *UdpServiceConf, serviceName string)
Types ¶
type HttpServiceConf ¶
type KafkaProducerConf ¶
type PcapServiceConf ¶ added in v1.1.3
type ServiceConf ¶
type ServiceConf struct { Type string `json:"type"` Name string `json:"name"` HttpService HttpServiceConf `json:"http_options"` UdpService UdpServiceConf `json:"udp_options"` PcapService PcapServiceConf `json:"pcap_options"` KafkaConsumerService KafkaConsumerServiceConf `json:"kafka_consumer_options"` KafkaProducer KafkaProducerConf `json:"kafka_producer"` }
type ServiceList ¶
type ServiceList struct { Services []ServiceConf `json:"services"` Stat StatServiceConf `json:"stat"` }
type StatServiceConf ¶
type UdpServiceConf ¶
type UdpServiceConf struct { Listen string `json:"listen"` Base64Body bool `json:"base64_encode_body,omitempty"` SignatureBytes map[string]string `json:"signature_bytes,omitempty"` Workers uint `json:"workers,omitempty"` MaxPacketSize uint32 `json:"max_packet_size,omitempty"` SrcIpHeaderName string `json:"source_ip_header,omitempty"` }
Click to show internal directories.
Click to hide internal directories.