Documentation ¶ Index ¶ func NewTlsWithConfig(conf *Config) stream.ListenConfig type Config type Tls func NewTls(listenConfig stream.ListenConfig, tlsConfig tls.TLS) *Tls func (d *Tls) ListenStream(ctx context.Context) (stream.StreamListener, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewTlsWithConfig ¶ func NewTlsWithConfig(conf *Config) stream.ListenConfig Types ¶ type Config ¶ type Config struct { ListenConfig stream.ListenConfig TLS tls.TLS } type Tls ¶ type Tls struct { // contains filtered or unexported fields } func NewTls ¶ func NewTls(listenConfig stream.ListenConfig, tlsConfig tls.TLS) *Tls func (*Tls) ListenStream ¶ func (d *Tls) ListenStream(ctx context.Context) (stream.StreamListener, error) Source Files ¶ View all Source files init.go tls.go Click to show internal directories. Click to hide internal directories.