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