Skip to content

Commit

Permalink
add runner option
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanang committed Jul 16, 2021
1 parent e1049ef commit 73fc140
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions runner/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,14 @@ func WithProtoset(protoset string) Option {
}
}

func WithProtosetBinary(b []byte) Option {
return func(o *RunConfig) error {
o.protosetBinary = b

return nil
}
}

// WithStreamInterval sets the stream interval
func WithStreamInterval(d time.Duration) Option {
return func(o *RunConfig) error {
Expand Down

0 comments on commit 73fc140

Please sign in to comment.