Documentation ¶
Index ¶
- type CategoryModel
- type JournalModel
- type LinkModel
- type PhotoModel
- type PostModel
- func (p *PostModel) Archives(ctx context.Context, page int, model template.Model) (string, error)
- func (p *PostModel) Content(ctx context.Context, post *entity.Post, token string, model template.Model) (string, error)
- func (p *PostModel) List(ctx context.Context, page int, model template.Model) (string, error)
- type SheetModel
- type TagModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryModel ¶
type CategoryModel struct { OptionService service.OptionService PostService service.PostService ThemeService service.ThemeService PostCategoryService service.PostCategoryService CategoryService service.CategoryService PostTagService service.PostTagService TagService service.TagService MetaService service.MetaService PostAssembler assembler.PostAssembler CategoryAuthentication *authentication.CategoryAuthentication }
func NewCategoryModel ¶
func NewCategoryModel(optionService service.OptionService, postService service.PostService, themeService service.ThemeService, postCategoryService service.PostCategoryService, categoryService service.CategoryService, postTagService service.PostTagService, tagService service.TagService, postAssembler assembler.PostAssembler, metaService service.MetaService, categoryAuthentication *authentication.CategoryAuthentication, ) *CategoryModel
func (*CategoryModel) CategoryDetail ¶
func (*CategoryModel) ListCategories ¶
type JournalModel ¶
type JournalModel struct { JournalService service.JournalService OptionService service.OptionService ThemeService service.ThemeService }
func NewJournalModel ¶
func NewJournalModel(optionService service.OptionService, themeService service.ThemeService, journalService service.JournalService, JournalService service.JournalService, ) *JournalModel
type LinkModel ¶
type LinkModel struct { LinkService service.LinkService OptionService service.OptionService ThemeService service.ThemeService }
func NewLinkModel ¶
func NewLinkModel( optionService service.OptionService, themeService service.ThemeService, linkService service.LinkService, ) *LinkModel
type PhotoModel ¶
type PhotoModel struct { PhotoService service.PhotoService OptionService service.OptionService ThemeService service.ThemeService }
func NewPhotoModel ¶
func NewPhotoModel(optionService service.OptionService, themeService service.ThemeService, photoService service.PhotoService, PhotoService service.PhotoService, ) *PhotoModel
type PostModel ¶
type PostModel struct { OptionService service.OptionService PostService service.PostService ThemeService service.ThemeService PostCategoryService service.PostCategoryService CategoryService service.CategoryService PostTagService service.PostTagService TagService service.TagService MetaService service.MetaService PostAssembler assembler.PostAssembler PostAuthentication *authentication.PostAuthentication }
func NewPostModel ¶
func NewPostModel(optionService service.OptionService, postService service.PostService, themeService service.ThemeService, postCategoryService service.PostCategoryService, categoryService service.CategoryService, postTagService service.PostTagService, tagService service.TagService, postAssembler assembler.PostAssembler, metaService service.MetaService, postAuthentication *authentication.PostAuthentication, ) *PostModel
type SheetModel ¶
type SheetModel struct { SheetService service.SheetService OptionService service.OptionService ThemeService service.ThemeService PostTagService service.PostTagService TagService service.TagService MetaService service.MetaService SheetAssembler assembler.SheetAssembler PostAuthentication *authentication.PostAuthentication }
func NewSheetModel ¶
func NewSheetModel(optionService service.OptionService, themeService service.ThemeService, postTagService service.PostTagService, tagService service.TagService, metaService service.MetaService, sheetAssembler assembler.SheetAssembler, sheetService service.SheetService, postAuthentication *authentication.PostAuthentication, ) *SheetModel
type TagModel ¶
type TagModel struct { TagService service.TagService OptionService service.OptionService ThemeService service.ThemeService PostTagService service.PostTagService MetaService service.MetaService PostAssembler assembler.PostAssembler }
func NewTagModel ¶
func NewTagModel(optionService service.OptionService, themeService service.ThemeService, tagService service.TagService, TagService service.TagService, postTagService service.PostTagService, postAssembler assembler.PostAssembler, ) *TagModel
Source Files ¶
Click to show internal directories.
Click to hide internal directories.