Documentation ¶
Index ¶
- type AdrInt
- func (a *AdrInt) Addresses() ([]pmodel.Address, error)
- func (a *AdrInt) Check() (bool, error)
- func (a *AdrInt) CheckName() string
- func (a *AdrInt) Create(adr pmodel.Address) (string, error)
- func (a *AdrInt) Delete(id string) error
- func (a *AdrInt) Has(id string) bool
- func (a *AdrInt) Init() error
- func (a *AdrInt) Read(id string) (*pmodel.Address, error)
- func (a *AdrInt) Shutdown() error
- func (a *AdrInt) Update(adr pmodel.Address) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdrInt ¶
type AdrInt struct {
// contains filtered or unexported fields
}
AdrInt the internal address storage type
func (*AdrInt) Check ¶
Check proceed a check and return state, true for healthy or false and an optional error, if the healthcheck fails
func (*AdrInt) CheckName ¶
CheckName should return the name of this healthcheck. The name should be unique.
Click to show internal directories.
Click to hide internal directories.