mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-13 22:05:21 +01:00
16 lines
226 B
Go
16 lines
226 B
Go
// HarborLogout.go
|
|
package apilib
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (a HarborAPI) HarborLogout() (int, error) {
|
|
|
|
response, err := http.Get(a.basePath + "/logout")
|
|
|
|
defer response.Body.Close()
|
|
|
|
return response.StatusCode, err
|
|
}
|