mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
36 lines
721 B
Go
36 lines
721 B
Go
package dummy
|
|
|
|
import (
|
|
"demodesk/neko/internal/types"
|
|
)
|
|
|
|
func New() types.MembersDatabase {
|
|
return &MembersDatabaseCtx{}
|
|
}
|
|
|
|
type MembersDatabaseCtx struct {}
|
|
|
|
func (manager *MembersDatabaseCtx) Connect() error {
|
|
return nil
|
|
}
|
|
|
|
func (manager *MembersDatabaseCtx) Disconnect() error {
|
|
return nil
|
|
}
|
|
|
|
func (manager *MembersDatabaseCtx) Insert(id string, profile types.MemberProfile) error {
|
|
return nil
|
|
}
|
|
|
|
func (manager *MembersDatabaseCtx) Update(id string, profile types.MemberProfile) error {
|
|
return nil
|
|
}
|
|
|
|
func (manager *MembersDatabaseCtx) Delete(id string) error {
|
|
return nil
|
|
}
|
|
|
|
func (manager *MembersDatabaseCtx) Select() (map[string]types.MemberProfile, error) {
|
|
return map[string]types.MemberProfile{}, nil
|
|
}
|