csssrv

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSSService

type CSSService interface {
	GetPageCSS(name string) (bool, *PageCSS)
	GetPage(name string) (bool, *Page)
	UpdatePage(page *Page) bool
}

CSSService CSSService

type Link struct {
	Color   string
	Visited string
	Hover   string
	Active  string
}

Link Link

type Page

type Page struct {
	Name       string
	Background string
	Color      string
	PageTitle  string
	Link       *Link
}

Page Page

type PageCSS

type PageCSS struct {
	Name       string
	Background template.CSS
	Color      template.CSS
	PageTitle  template.CSS
	Link       *Link
}

PageCSS PageCSS

type Six910CSSService

type Six910CSSService struct {
	CSSStore     ds.JSONDatastore
	CSSStorePath string
	Log          *lg.Logger
}

Six910CSSService Six910CSSService

func (*Six910CSSService) GetNew

func (c *Six910CSSService) GetNew() CSSService

GetNew GetNew

func (*Six910CSSService) GetPage

func (c *Six910CSSService) GetPage(name string) (bool, *Page)

GetPage GetPage

func (*Six910CSSService) GetPageCSS

func (c *Six910CSSService) GetPageCSS(name string) (bool, *PageCSS)

GetPageCSS GetPageCSS

func (*Six910CSSService) UpdatePage

func (c *Six910CSSService) UpdatePage(page *Page) bool

UpdatePage UpdatePage

Jump to

Keyboard shortcuts

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