Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListenConfig ¶
type MultiListener ¶
type MultiListener struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger *slog.Logger) *MultiListener
func (*MultiListener) Close ¶
func (l *MultiListener) Close() error
func (*MultiListener) ListenGRPC ¶
func (l *MultiListener) ListenGRPC(cfg *ListenConfig, srv *grpc.Server) error
func (*MultiListener) ListenHTTP ¶
func (l *MultiListener) ListenHTTP(cfg *ListenConfig, srv *http.Server) error
Click to show internal directories.
Click to hide internal directories.