Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppDocRepository ¶
type AppDocRepository interface { Add(appDoc entity.AppDoc, ctx context.Context) (primitive.ObjectID, error) List(count int, ctx context.Context) ([]*entity.AppDoc, error) GetById(oId primitive.ObjectID, ctx context.Context) (*entity.AppDoc, error) Delete(oId primitive.ObjectID, ctx context.Context) (int64, error) }
func NewAppDocRepository ¶
func NewAppDocRepository(config *utils.Configuration, client *mongo.Client) AppDocRepository
Click to show internal directories.
Click to hide internal directories.