services

package
v0.0.0-...-12b3cef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2023 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalPostService

func NewLocalPostService() ports.PostService

Types

type LocalPostService

type LocalPostService struct{}

func (LocalPostService) GetPost

func (lps LocalPostService) GetPost(postName string) (*domain.Post, error)

func (LocalPostService) GetPostAsset

func (lps LocalPostService) GetPostAsset(postName string, assetName string) (string, error)

func (LocalPostService) Posts

func (lps LocalPostService) Posts(opts *ports.PostsOptions) ([]*domain.Post, error)

func (LocalPostService) SearchPosts

func (lps LocalPostService) SearchPosts(term string) ([]*domain.Post, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL