Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapStorage ¶
type MapStorage struct {
// contains filtered or unexported fields
}
func NewMapStorage ¶
func NewMapStorage() *MapStorage
func (*MapStorage) DeleteUser ¶
func (ms *MapStorage) DeleteUser(id string) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(addr string, storage UserStorage) *Server
type SliceStorage ¶
type SliceStorage struct {
// contains filtered or unexported fields
}
func NewSliceStorage ¶
func NewSliceStorage() *SliceStorage
func (*SliceStorage) DeleteUser ¶
func (ss *SliceStorage) DeleteUser(id string) error
Click to show internal directories.
Click to hide internal directories.