tohtml

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 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 Cache

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

func NewCache

func NewCache(h hash.Hasher) (c Cache)

func (*Cache) Render

func (c *Cache) Render(b []byte) (out []byte)

func (Cache) WithMutex

func (c Cache) WithMutex() (m MutexCache)

type MutexCache

type MutexCache struct {
	Cache
	// contains filtered or unexported fields
}

func (*MutexCache) Render

func (m *MutexCache) Render(b []byte) (out []byte)

type Renderer

type Renderer interface {
	Render([]byte) []byte
}

Jump to

Keyboard shortcuts

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