ReplicaClient is a client for writing LTX files to Google Cloud Storage.
| 35 | |
| 36 | // ReplicaClient is a client for writing LTX files to Google Cloud Storage. |
| 37 | type ReplicaClient struct { |
| 38 | mu sync.Mutex |
| 39 | client *storage.Client // gs client |
| 40 | bkt *storage.BucketHandle // gs bucket handle |
| 41 | logger *slog.Logger |
| 42 | |
| 43 | // GS bucket information |
| 44 | Bucket string |
| 45 | Path string |
| 46 | } |
| 47 | |
| 48 | // NewReplicaClient returns a new instance of ReplicaClient. |
| 49 | func NewReplicaClient() *ReplicaClient { |
nothing calls this directly
no outgoing calls
no test coverage detected