Documentation ¶
Index ¶
- type ChunkAutoInterval
- func (c *ChunkAutoInterval) GetDefault() time.Duration
- func (c *ChunkAutoInterval) GetInterval(unhandledCount int) time.Duration
- func (c *ChunkAutoInterval) MarshalText() ([]byte, error)
- func (c *ChunkAutoInterval) SetDefault(v time.Duration)
- func (c *ChunkAutoInterval) UnmarshalText(p []byte) error
- type Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkAutoInterval ¶ added in v0.8.0
type ChunkAutoInterval struct {
// contains filtered or unexported fields
}
func NewChunkAutoInterval ¶ added in v0.8.0
func NewChunkAutoInterval() *ChunkAutoInterval
func (*ChunkAutoInterval) GetDefault ¶ added in v0.8.0
func (c *ChunkAutoInterval) GetDefault() time.Duration
func (*ChunkAutoInterval) GetInterval ¶ added in v0.8.0
func (c *ChunkAutoInterval) GetInterval(unhandledCount int) time.Duration
func (*ChunkAutoInterval) MarshalText ¶ added in v0.8.0
func (c *ChunkAutoInterval) MarshalText() ([]byte, error)
func (*ChunkAutoInterval) SetDefault ¶ added in v0.8.0
func (c *ChunkAutoInterval) SetDefault(v time.Duration)
func (*ChunkAutoInterval) UnmarshalText ¶ added in v0.8.0
func (c *ChunkAutoInterval) UnmarshalText(p []byte) error
UnmarshalText from TOML
type Duration ¶
Duration wrapper time.Duration for TOML
func (*Duration) MarshalText ¶
MarshalText encode text with TOML format
func (*Duration) UnmarshalText ¶
UnmarshalText from TOML
Click to show internal directories.
Click to hide internal directories.