- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for durationConverter (0.39 sec)
-
pkg/bootstrap/option/instance.go
return skipOption(name) } return newOption(name, value) } func newDurationOption(name Name, value *durationpb.Duration) *instance { return newOptionOrSkipIfZero(name, value).withConvert(durationConverter(value)) } func newTCPKeepaliveOption(name Name, value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) *instance { return newOptionOrSkipIfZero(name, value).withConvert(keepaliveConverter(value))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 3.1K bytes - Viewed (0) -
pkg/bootstrap/option/convert.go
} } func jsonConverter(d any) convertFunc { return func(o *instance) (any, error) { b, err := json.Marshal(d) return string(b), err } } func durationConverter(value *durationpb.Duration) convertFunc { return func(*instance) (any, error) { return value.AsDuration().String(), nil } } // openCensusAgentContextConverter returns a converter that returns the list of
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 00:35:05 UTC 2024 - 10.2K bytes - Viewed (0)