Documentation ¶
Index ¶
- type Option
- func WithBrowser(address string) Option
- func WithLog(writer io.Writer) Option
- func WithLogLevel(lvl logging.Level) Option
- func WithParam(name string, value interface{}) Option
- func WithParams(params map[string]interface{}) Option
- func WithProxy(address string) Option
- func WithRandomUserAgent() Option
- func WithUserAgent(value string) Option
- type Options
- type Program
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func WithBrowser ¶
func WithLogLevel ¶
func WithParams ¶
func WithRandomUserAgent ¶
func WithRandomUserAgent() Option
func WithUserAgent ¶
type Program ¶
type Program struct {
// contains filtered or unexported fields
}
func NewProgram ¶
func NewProgram(src string, body core.Expression) (*Program, error)
Click to show internal directories.
Click to hide internal directories.