chore(deps): bump go-micro.dev/v4 from 4.10.2 to 4.11.0

Bumps [go-micro.dev/v4](https://github.com/go-micro/go-micro) from 4.10.2 to 4.11.0.
- [Release notes](https://github.com/go-micro/go-micro/releases)
- [Commits](https://github.com/go-micro/go-micro/compare/v4.10.2...v4.11.0)

---
updated-dependencies:
- dependency-name: go-micro.dev/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2024-07-08 10:03:51 +02:00
committed by Ralf Haferkamp
parent cb89e98f28
commit 50e24b0318
12 changed files with 71 additions and 36 deletions
+9
View File
@@ -19,6 +19,14 @@ func NewOptions(opts ...Option) Options {
return options
}
// WithAddress sets the address to listen
func WithAddress(addr string) Option {
return func(o *Options) error {
o.Address = addr
return nil
}
}
// WithRouter sets the router to use e.g static or registry.
func WithRouter(r router.Router) Option {
return func(o *Options) error {
@@ -35,3 +43,4 @@ func WithRegistry(r registry.Registry) Option {
return nil
}
}