Documentation
¶
Index ¶
- Constants
- func GetSecrecy(htmlPgSrc *html.Node) bool
- func Login(driver selenium.WebDriver, login string, password string) error
- func SearchLawsuit(driver selenium.WebDriver, searchLink string, lawsuit string, degree string, ...) (*html.Node, error)
- func SeleniumWebDriver() (selenium.WebDriver, error)
- type Document
- type EntireLawsuit
- type Lawsuit
- type LawsuitCover
- type Movement
- type Part
- type Pdf
- type Person
- type Poles
Constants ¶
View Source
const ( InitWebSite = "https://esaj.tjsp.jus.br/cpo" EndWebSite = "g/open.do" )
View Source
const ( SiteLogin = "https://esaj.tjsp.jus.br/sajcas/login" XpathUser = "//*[@id=\"usernameForm\"]" XpathPass = "//*[@id=\"passwordForm\"]" XpathBtt = "//*[@id=\"pbEntrar\"]" XpathError = "//*[@id=\"mensagemRetorno\"]/li" )
View Source
const (
Dirt = "\n"
)
Variables ¶
This section is empty.
Functions ¶
func GetSecrecy ¶
func SearchLawsuit ¶
func SeleniumWebDriver ¶
Types ¶
type EntireLawsuit ¶
type Lawsuit ¶
type LawsuitCover ¶
type LawsuitCover struct { Title string Tag string Class string Subject string Location string Unit string Judge string InitialDate string Control string Field string Value string }
func GetLawsuitCover ¶
func GetLawsuitCover(htmlPgSrc *html.Node, degree string) (LawsuitCover, error)
Click to show internal directories.
Click to hide internal directories.