env

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const RandomUserAgent = "*"

Variables

This section is empty.

Functions

func WithContext

func WithContext(ctx context.Context, e Environment) context.Context

Types

type Environment

type Environment struct {
	CDPAddress   string
	ProxyAddress string
	UserAgent    string
}

func FromContext

func FromContext(ctx context.Context) Environment

Jump to

Keyboard shortcuts

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