chromedp

package
v0.0.0-...-9b96a5d Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	Path    string
	Content string
}

func Render

func Render(ctx context.Context, files []string) ([]*Page, error)

Render render every page of given files concurrency at most 10 goroutines

type PagesManager

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

func NewPagesManager

func NewPagesManager(n int) *PagesManager

func (*PagesManager) Append

func (p *PagesManager) Append(page *Page)

func (*PagesManager) GetPages

func (p *PagesManager) GetPages() []*Page

Jump to

Keyboard shortcuts

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