Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented")
View Source
var ErrNotSupported = errors.New("not supported")
Functions ¶
This section is empty.
Types ¶
type ContactRepo ¶
type ContactRepo struct {
// contains filtered or unexported fields
}
type IOption ¶ added in v0.1.0
type IRepo ¶
type IRepo[C any] interface { Get() (C, error) GetByID(id entity.ID) (C, error) GetAll(opt IOption) ([]C, error) Put(C) error Add(C) error }
TODO: after adding IOption look like we can remove GetAll and GetByID
type IdentityRepo ¶
type IdentityRepo struct {
// contains filtered or unexported fields
}
type MessageRepo ¶
type MessageRepo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.