1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-04 04:42:48 +00:00
arikawa/state/store/defaultstore
diamondburned c6679dc52c State: Separate Store into smaller interfaces, Cabinet API
This commit refactors the Store interface in State into smaller
interfaces in package store. These interfaces are combined into one
structure called a "Cabinet". The default implementation of those
interfaces have been rewritten in package defaultstore, while the old
no-op implementation stays with the store package.

This commit also omitted several state handlers for user events, as it
is unclear what they are actually structured like.
2020-11-29 16:57:58 -08:00
..
channel.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
defaultstore.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
emoji.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
guild.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
me.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
member.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
message.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
presence.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
role.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00
voicestate.go State: Separate Store into smaller interfaces, Cabinet API 2020-11-29 16:57:58 -08:00