Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver interface { GetDocument(ctx context.Context, url values.String) (values.HTMLNode, error) Close() error }
func FromContext ¶
func FromContext(ctx context.Context, name DriverName) (Driver, error)
type DriverName ¶
type DriverName string
const ( Dynamic DriverName = "dynamic" Static DriverName = "static" )
Click to show internal directories.
Click to hide internal directories.