auth

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetExecPath

func SetExecPath(path string)

SetExecPath sets the path to the Chromium or Google Chrome binary.

func SetHeadless

func SetHeadless(startHeadless bool)

func SetLoginTimeout added in v0.6.0

func SetLoginTimeout(timeout time.Duration)

Types

type AuthInfo

type AuthInfo struct {
	SessionID string
	XSRFToken string
}

func Login

func Login(username, password string, verbose bool) (*AuthInfo, error)

Jump to

Keyboard shortcuts

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