Documentation
¶
Index ¶
- Constants
- func Cost() func() time.Duration
- func IsDuration(str string) bool
- func ParseDuration(s string) (time.Duration, error)
- type Component
- type ComponentLivenessChecker
- type Duration
- type Endpoint
- func (e Endpoint) Hostname() string
- func (e Endpoint) IsZero() bool
- func (e *Endpoint) Key() string
- func (e Endpoint) MarshalText() ([]byte, error)
- func (e *Endpoint) Options() url.Values
- func (e Endpoint) SecurityString() string
- func (e Endpoint) String() string
- func (e *Endpoint) UnmarshalText(text []byte) error
- type LivenessCheckDetail
- type LivenessChecker
- type Password
Constants ¶
View Source
const MaskedPassword = "--------"
Variables ¶
This section is empty.
Functions ¶
func IsDuration ¶ added in v0.2.5
Types ¶
type ComponentLivenessChecker ¶
type ComponentLivenessChecker interface {
LivenessCheck(ctx context.Context) map[Component]LivenessCheckDetail
}
type Duration ¶ added in v0.2.5
func (Duration) MarshalText ¶ added in v0.2.5
func (*Duration) UnmarshalText ¶ added in v0.2.5
type Endpoint ¶
type Endpoint struct {
Scheme string
Host string
Port uint16
Base string
Username string
Password Password
Param url.Values
}
func ParseEndpoint ¶
func (Endpoint) MarshalText ¶
func (Endpoint) SecurityString ¶
func (*Endpoint) UnmarshalText ¶
type LivenessCheckDetail ¶
type LivenessChecker ¶
Click to show internal directories.
Click to hide internal directories.