Redis Key Structure - legitco/gimli GitHub Wiki

Namespace

gimli:<object>:<type>:<key>:<key>:<key...

Examples

Repo

gimli:repo:name:<repo-id> = name of the repo

Issues

gimli:comment:title:<repo-id>:<issue-id>:<comment-id> = title of a comment

User

gimli:user:friends:<user-id> = list of user friends

Github Order

We will use github order for data when we can: gimli:<user>:<repo>:<issue>:comment

⚠️ **GitHub.com Fallback** ⚠️