Skip to content

Allow ttl to be specified as duration string. #20

@captncraig

Description

@captncraig

Currently we expect DefaultTTL(3000) or TTL(100) with only numbers.

Would be cool if you could do DefaultTTL("4h") instead and defer to go's ParseDuration.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions