GrootHttpLogin logins using the groot account with the default password and returns the access JWT
(endpoint string)
| 565 | // GrootHttpLogin logins using the groot account with the default password |
| 566 | // and returns the access JWT |
| 567 | func GrootHttpLogin(endpoint string) *HttpToken { |
| 568 | return GrootHttpLoginNamespace(endpoint, 0) |
| 569 | } |
| 570 | |
| 571 | func GrootHttpLoginNamespace(endpoint string, namespace uint64) *HttpToken { |
| 572 | token, err := HttpLogin(&LoginParams{ |
searching dependent graphs…