Documentation ¶
Index ¶
- type App
- type Option
- func WithEndpoints(endpoints []*url.URL) Option
- func WithID(id string) Option
- func WithName(name string) Option
- func WithRPCServer(server *rpcserver.Server) Option
- func WithRegistrar(registrar registry.Registrar) Option
- func WithRegistrarTimeout(registrarTimeout time.Duration) Option
- func WithRestServer(server *restserver.Server) Option
- func WithSigs(sigs []os.Signal) Option
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 WithRPCServer ¶
func WithRegistrar ¶
func WithRegistrarTimeout ¶
func WithRestServer ¶
func WithRestServer(server *restserver.Server) Option
Click to show internal directories.
Click to hide internal directories.