artext

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FxModule

func FxModule() fx.Option

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) GetArtsExceptForStoryArts added in v1.4.0

func (c *Controller) GetArtsExceptForStoryArts(ctx *fiber.Ctx) error

func (*Controller) GetArtsOfStory

func (c *Controller) GetArtsOfStory(ctx *fiber.Ctx) error

func (*Controller) GetArtsOfStoryGroup

func (c *Controller) GetArtsOfStoryGroup(ctx *fiber.Ctx) error

type RegisterParams

type RegisterParams struct {
	fx.In
	App    *fiber.App
	Router fiber.Router `optional:"true"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) GetArtsExceptForStoryArts added in v1.4.0

func (service *Service) GetArtsExceptForStoryArts(server ark.Server) ([]*art.Art, error)

GetArtsExceptForStoryArts gets all arts but except for the arts which are present in the story tree.

func (*Service) GetArtsOfStory

func (service *Service) GetArtsOfStory(server ark.Server, storyID string) ([]*art.Art, error)

func (*Service) GetArtsOfStoryGroup

func (service *Service) GetArtsOfStoryGroup(server ark.Server, groupID string) ([]*art.Art, error)

Jump to

Keyboard shortcuts

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