Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTeaCat committed Mar 1, 2024
1 parent 5f90edb commit 481a74d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions middlewares/http/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ type Options struct {
// to a file on disk
LogBatchCallback func([][]byte)

// MaxBatchSize is the maximum size of a logging batch which will be sent to the Firetail logging API, in bytes, if the default batch
// callback is used. Defaults to 512KiB (524288B).
// MaxBatchSize is the maximum size of a logging batch in bytes which will be passed to the LogBatchCallback, or the default callback
// if it is used.
MaxBatchSize int

// MaxLogAge is the maximum age of the oldest log in a batch which will be sent to the Firetail logging API, if the default batch
// callback is used. Defaults to 1 minute.
// MaxLogAge is the maximum age of the oldest log in a batch which will be passed to the LogBatchCallback, or the default callback if
// it is used.
MaxLogAge time.Duration

// ErrCallback is an optional callback func which is given an error and a ResponseWriter to which an apropriate response can be written
Expand Down

0 comments on commit 481a74d

Please sign in to comment.