Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InputOption ¶
type InputOption interface {
// Otel span operation name
WithOperationName(n string) InputOptionFn
/*
Understanding Max Memory Allocation, i.e:
- 1 kilobyte (KB) = 1024 bytes;
- 1 megabyte (MB) = 1024 kilobytes;
- 1 MB = 1024 * 1024 = 1,048,576 bytes;
- 1 MB = 1 * 1024 * 1024;
- formula for: X MB = X * 1024 * 1024;
*/
WithMaxMemory(n int64) InputOptionFn
WithNestedDirectivesEnabled(enabled bool) InputOptionFn
}
func NewInputOption ¶
func NewInputOption() InputOption
type InputOptionFn ¶
type InputOptionFn func(i *inputOptionValues)
Click to show internal directories.
Click to hide internal directories.