help

package
v1.5.29 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entries

type Entries []*Entry

func (Entries) Get

func (e Entries) Get(key string) *Entry

type Entry

type Entry struct {
	Key      string `json:"key"`
	Title    string `json:"title,omitempty"`
	Markdown string `json:"markdown,omitempty"`
	HTML     string `json:"html,omitempty"`
}

type Service

type Service struct {
	Entries Entries
}

func NewService

func NewService(logger util.Logger) *Service

func (*Service) Contains

func (s *Service) Contains(key string) bool

func (*Service) Entry added in v0.12.3

func (s *Service) Entry(key string) *Entry

Jump to

Keyboard shortcuts

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