mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-21 11:32:49 +02:00
16 lines
229 B
Plaintext
16 lines
229 B
Plaintext
// HarborLogout.go
|
|
package HarborAPI
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (a HarborAPI) HarborLogout() (int, error) {
|
|
|
|
response, err := http.Get(a.basePath + "/logout")
|
|
|
|
defer response.Body.Close()
|
|
|
|
return response.StatusCode, err
|
|
}
|