neko/internal/types/member.go

12 lines
253 B
Go
Raw Normal View History

2021-03-14 11:42:16 +13:00
package types
type MembersDatabase interface {
Connect() error
Disconnect() error
Insert(id string, profile MemberProfile) error
Update(id string, profile MemberProfile) error
Delete(id string) error
Select() (map[string]MemberProfile, error)
}