Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(w *Watcher)
Option represent an option.
func WithGracefuleShutdownTimeout ¶ added in v2.16.0
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher watches a process for a graceful restart preserving open network sockets to avoid packet loss.
func (*Watcher) GetListeners ¶
GetListeners return grpc listener first and http listener second.
Click to show internal directories.
Click to hide internal directories.