internal

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpError

type OpError struct {
	Domain string
	Op     string
	Err    error
}

OpError represents an operational error.

func (*OpError) Cause

func (e *OpError) Cause() error

Cause implements error causer.

func (OpError) Error

func (e OpError) Error() string

type PageFrameID

type PageFrameID string

PageFrameID Unique frame identifier.

This type cannot be used directly. Use page.FrameID instead.

func (*PageFrameID) UnmarshalJSON

func (p *PageFrameID) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes the FrameID from either string or float.

type PageResourceType

type PageResourceType int

PageResourceType Resource type as it was perceived by the rendering engine.

This type cannot be used directly. Use page.ResourceType instead.

func (PageResourceType) MarshalJSON

func (e PageResourceType) MarshalJSON() ([]byte, error)

MarshalJSON encodes enum into a string or null when not set.

func (PageResourceType) String

func (e PageResourceType) String() string

func (*PageResourceType) UnmarshalJSON

func (e *PageResourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a string value into a enum.

func (PageResourceType) Valid

func (e PageResourceType) Valid() bool

Valid returns true if enum is set.

Jump to

Keyboard shortcuts

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