More fixes
This commit is contained in:
@@ -11,7 +11,6 @@ var (
|
||||
ErrInvalidStore = errors.New("error: invalid store")
|
||||
ErrUserNotFound = errors.New("error: user not found")
|
||||
ErrTokenNotFound = errors.New("error: token not found")
|
||||
ErrFeedNotFound = errors.New("error: feed not found")
|
||||
ErrInvalidSession = errors.New("error: invalid session")
|
||||
)
|
||||
|
||||
@@ -20,14 +19,6 @@ type Store interface {
|
||||
Close() error
|
||||
Sync() error
|
||||
|
||||
DelFeed(name string) error
|
||||
HasFeed(name string) bool
|
||||
GetFeed(name string) (*Feed, error)
|
||||
SetFeed(name string, user *Feed) error
|
||||
LenFeeds() int64
|
||||
SearchFeeds(prefix string) []string
|
||||
GetAllFeeds() ([]*Feed, error)
|
||||
|
||||
DelUser(username string) error
|
||||
HasUser(username string) bool
|
||||
GetUser(username string) (*User, error)
|
||||
|
||||
Reference in New Issue
Block a user