| 62 | |
| 63 | type ProgressStatusChan chan (*UpDownStatus) |
| 64 | type Client struct { |
| 65 | conn *grpc.ClientConn |
| 66 | logger zerolog.Logger |
| 67 | // channel to send progress status to the go-routine that's rendering the progress bar |
| 68 | ProgressStatus ProgressStatusChan |
| 69 | } |
| 70 | |
| 71 | func New(conn *grpc.ClientConn, opts ...ClientOpts) *Client { |
| 72 | client := &Client{ |
nothing calls this directly
no outgoing calls
no test coverage detected