(host string)
| 26 | type Option func(*options) |
| 27 | |
| 28 | func WithHost(host string) Option { |
| 29 | return func(o *options) { |
| 30 | o.hostname = host |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func NewClient(project, token string, opts ...Option) (pb.QuickClient, error) { |
| 35 | var o options |
no outgoing calls
no test coverage detected