Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( authMFunc network.AuthenticationProvider, authorizeMFunc network.AuthorizationProvider, service Service, ) network.Controller
Types ¶
type Service ¶
type Service interface {
SetSimilarBlogsDtoCache(blogId primitive.ObjectID, blogs []*dto.ItemBlog) error
GetSimilarBlogsDtoCache(blogId primitive.ObjectID) ([]*dto.ItemBlog, error)
GetPaginatedLatestBlogs(p *coredto.Pagination) ([]*dto.ItemBlog, error)
GetPaginatedTaggedBlogs(tag string, p *coredto.Pagination) ([]*dto.ItemBlog, error)
GetSimilarBlogs(blogId primitive.ObjectID) ([]*dto.ItemBlog, error)
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.