1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- package keepalive
- import (
- "time"
- )
- type ClientParameters struct {
-
- Time time.Duration
-
-
- Timeout time.Duration
-
- PermitWithoutStream bool
- }
- type ServerParameters struct {
-
-
- MaxConnectionIdle time.Duration
-
-
- MaxConnectionAge time.Duration
-
- MaxConnectionAgeGrace time.Duration
-
- Time time.Duration
-
-
- Timeout time.Duration
- }
- type EnforcementPolicy struct {
-
- MinTime time.Duration
-
- PermitWithoutStream bool
- }
|