mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
12 lines
253 B
Go
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)
|
|
}
|