projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '18799-api-pydoc'
[arvados.git]
/
sdk
/
go
/
arvados
/
login.go
diff --git
a/sdk/go/arvados/login.go
b/sdk/go/arvados/login.go
index 75ebc81c142b1ee167bafa7792923513af3c5120..ab7637546289a659651c9648907b0558cfe1c064 100644
(file)
--- a/
sdk/go/arvados/login.go
+++ b/
sdk/go/arvados/login.go
@@
-10,8
+10,8
@@
import (
)
type LoginResponse struct {
)
type LoginResponse struct {
- RedirectLocation string
- HTML bytes.Buffer
+ RedirectLocation string
`json:"redirect_location,omitempty"`
+ HTML bytes.Buffer
`json:"-"`
}
func (resp LoginResponse) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
func (resp LoginResponse) ServeHTTP(w http.ResponseWriter, req *http.Request) {
@@
-26,7
+26,7
@@
func (resp LoginResponse) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
type LogoutResponse struct {
}
type LogoutResponse struct {
- RedirectLocation string
+ RedirectLocation string
`json:"redirect_location,omitempty"`
}
func (resp LogoutResponse) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
func (resp LogoutResponse) ServeHTTP(w http.ResponseWriter, req *http.Request) {