Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// > @3@4@5@6
// >
// > Which network type to listen.
Network string `json:"network" default:"tcp" options:"tcp|udp|unix"` // *
// > @3@4@5@6
// >
// > An address to listen to.
// >
// > For example:
// > - /tmp/filed.sock
// > - 1.2.3.4:9092
// > - :9092
Address string `json:"address" required:"true"` // *
// > @3@4@5@6
// >
// > CA certificate in PEM encoding. This can be a path or the content of the certificate.
// >> Works only if `network` is set to `tcp`.
CACert string `json:"ca_cert" default:""` // *
// > @3@4@5@6
// >
// > CA private key in PEM encoding. This can be a path or the content of the key.
// >> Works only if `network` is set to `tcp`.
PrivateKey string `json:"private_key" default:""` // *
}
! config-params ^ config-params
Click to show internal directories.
Click to hide internal directories.