Last active
July 10, 2020 13:16
-
-
Save bschaeffer/909c51c4d9483cf77fa59004c65fea4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type clientConfig struct { | |
// Number of worker goroutines publishing log events | |
Workers int `config:"workers" validate:"min=1"` | |
// Max number of events in a batch to send to a single client | |
BatchSize int `config:"batch_size" validate:"min=1"` | |
// Max number of retries for single batch of events | |
RetryLimit int `config:"retry_limit"` | |
// The endpoint our client should be POSTing to | |
Endpoint string `config:"endpoint"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment