Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitChromeDp ¶
func InitChromeDp()
Types ¶
type RenderTask ¶
type RenderTask struct { HttpCtx *context.Context Url string Render func(chromeCtx ctx.Context, url string) (string, error) Wg *sync.WaitGroup }
func NewRenderTask ¶
type SsrPool ¶
type SsrPool struct { TaskChannel chan *RenderTask JobsChannel chan *RenderTask AddWorkerChannel chan bool WorkerNum int }
func NewSsrPool ¶
Click to show internal directories.
Click to hide internal directories.