neko/internal/types/member.go
2021-03-13 23:42:16 +01:00

12 lines
253 B
Go

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)
}