carouselsrv

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Carousel struct {
	Name    string
	Enabled bool
	Image1  string
	Image2  string
	Image3  string
}

Carousel Carousel

type CarouselService

type CarouselService interface {
	GetCarousel(name string) (bool, *Carousel)
	UpdateCarousel(car *Carousel) bool
}

CarouselService CarouselService

type Six910CarouselService

type Six910CarouselService struct {
	Store     ds.JSONDatastore
	StorePath string
	Log       *lg.Logger
}

Six910CarouselService Six910CarouselService

func (*Six910CarouselService) GetCarousel

func (c *Six910CarouselService) GetCarousel(name string) (bool, *Carousel)

GetCarousel GetCarousel

func (*Six910CarouselService) GetNew

GetNew GetNew

func (*Six910CarouselService) UpdateCarousel

func (c *Six910CarouselService) UpdateCarousel(car *Carousel) bool

UpdateCarousel UpdateCarousel

Jump to

Keyboard shortcuts

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