Documentation ¶
Index ¶
- Variables
- type DetailsProber
- func (p DetailsProber) HandleFailure(svr server.Server) server.Server
- func (p DetailsProber) HandleRetry(svr server.Server) server.Server
- func (p DetailsProber) HandleSuccess(result any, svr server.Server) server.Server
- func (p DetailsProber) Probe(ctx context.Context, svrAddr addr.Addr, queryPort int, timeout time.Duration) (any, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DetailsProber ¶
type DetailsProber struct {
// contains filtered or unexported fields
}
func (DetailsProber) HandleFailure ¶
func (p DetailsProber) HandleFailure(svr server.Server) server.Server
func (DetailsProber) HandleRetry ¶
func (p DetailsProber) HandleRetry(svr server.Server) server.Server
func (DetailsProber) HandleSuccess ¶
func (DetailsProber) Probe ¶
func (p DetailsProber) Probe( ctx context.Context, svrAddr addr.Addr, queryPort int, timeout time.Duration, ) (any, error)
Probe probes specified server's GS1 query port On success, update the server's extended params In case a server with specified identifier does not exit, create the server beforehand
Click to show internal directories.
Click to hide internal directories.