Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RotatelogsConf ¶
type RotatelogsConf struct { LinkName string `json:"link-name"` Clock string `json:"clock"` RotationTime string `json:"rotation-time"` RotationCount int64 `json:"rotation-count"` MaxAge string `json:"max-age"` }
func (RotatelogsConf) GetClock ¶
func (c RotatelogsConf) GetClock() rotatelogs.Clock
func (RotatelogsConf) GetLinkName ¶
func (c RotatelogsConf) GetLinkName() string
func (RotatelogsConf) GetMaxAge ¶
func (c RotatelogsConf) GetMaxAge() (d time.Duration)
func (RotatelogsConf) GetRotationCount ¶
func (c RotatelogsConf) GetRotationCount() uint
func (RotatelogsConf) GetRotationTime ¶
func (c RotatelogsConf) GetRotationTime() (d time.Duration)
Click to show internal directories.
Click to hide internal directories.