Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentTrim ¶
func RegisterPlugin ¶
func RegisterPlugin(plugin ChainPlugin)
Types ¶
type ChainPlugin ¶
type ChainRegistry ¶
type ChainRegistry struct {
Chains map[string]ChainPlugin
}
var (
DefaultRegisterer *ChainRegistry = defaultRegistry
)
func NewRegistry ¶
func NewRegistry() *ChainRegistry
func (*ChainRegistry) Get ¶
func (c *ChainRegistry) Get(name string) ChainPlugin
func (*ChainRegistry) Register ¶
func (c *ChainRegistry) Register(plugin ChainPlugin)
type DocProcessPlugin ¶
type DocProcessPlugin struct {
// contains filtered or unexported fields
}
func NewDocProcessPlugin ¶
func NewDocProcessPlugin() *DocProcessPlugin
func (*DocProcessPlugin) Name ¶
func (s *DocProcessPlugin) Name() string
type HeaderImgPlugin ¶
type HeaderImgPlugin struct { }
func (*HeaderImgPlugin) Name ¶
func (h *HeaderImgPlugin) Name() string
type SubContentPlugin ¶
type SubContentPlugin struct { }
func (*SubContentPlugin) Name ¶
func (s *SubContentPlugin) Name() string
Click to show internal directories.
Click to hide internal directories.