Documentation
¶
Index ¶
- type App
- type Option
- func AddServer(srvs ...server.Server) Option
- func AddSigs(sigs ...os.Signal) Option
- func WithEndpoints(endpoints []*url.URL) Option
- func WithID(id string) Option
- func WithName(name string) Option
- func WithRegistrar(registrar registry.Registrar) Option
- func WithRegistrarTimeout(timeout time.Duration) Option
- func WithServer(srvs ...server.Server) Option
- func WithSigs(sigs []os.Signal) Option
- func WithStartTimeout(timeout time.Duration) Option
- func WithStopTimeout(timeout time.Duration) Option
- func WithTags(tags ...string) Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
func WithEndpoints ¶
func WithRegistrar ¶
func WithRegistrarTimeout ¶
func WithServer ¶
func WithStartTimeout ¶
func WithStopTimeout ¶
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func DefaultOptions ¶
func DefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.