//
pkg.gl
Category
github.com/albertwidi/go-project-example
internal
entity
state
package
0.0.0-20200416044943-d22e7c36ff52
Repository:
https://github.com/albertwidi/go-project-example.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
3
Files
60 SLOC
#
Functions
New
New to create a new state.
#
Constants
DefaultStateExpiryTime
default state expiry time.
MaxStateExpiryTime
default state expiry time.
MinStateExpiryTime
default state expiry time.
#
Variables
ErrCreatedByEmpty
error list of state.
ErrExpiryTimeLessThanMin
error list of state.
ErrExpiryTimeMoreThanMax
error list of state.
ErrStateNotFound
error list of state.
#
Structs
State
State data.