package
0.0.6
Repository: https://github.com/coderi421/gframework.git
Documentation: pkg.go.dev

# Functions

New creates consul registry.
WithDatacenter with registry datacenter option.
WithDeregisterCriticalServiceAfter with deregister-critical-service-after in seconds.
WithHealthCheck with registry health check option.
WithHealthCheckInterval with healthcheck interval in seconds.
WithHeartbeat enable or disable heartbeat.
WithServiceCheck with service checks.
WithServiceResolver with endpoint function option.
WithTimeout with get services timeout option.

# Constants

No description provided by the author
No description provided by the author

# Structs

Client is consul client config.
Config is consul registry config.
Registry is consul registry.

# Type aliases

No description provided by the author
Option is consul registry option.
ServiceResolver is used to resolve service endpoints.