Skip to content

Commit

Permalink
more references to runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Jul 7, 2024
1 parent 563e0d2 commit a3809af
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ type Options struct {
Context context.Context

Cache cache.Cache
Runtime runtime.Runtime
Profile profile.Profile
Transport transport.Transport
Logger logger.Logger
Expand All @@ -62,7 +61,6 @@ func newOptions(opts ...Option) Options {
Server: server.DefaultServer,
Store: store.DefaultStore,
Registry: registry.DefaultRegistry,
Runtime: runtime.DefaultRuntime,
Transport: transport.DefaultTransport,
Context: context.Background(),
Signal: true,
Expand Down Expand Up @@ -204,13 +202,6 @@ func Transport(t transport.Transport) Option {
}
}

// Runtime sets the runtime.
func Runtime(r runtime.Runtime) Option {
return func(o *Options) {
o.Runtime = r
}
}

// Convenience options

// Address sets the address of the server.
Expand Down

0 comments on commit a3809af

Please sign in to comment.