Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLoginInfo ¶
func UpdateCookies ¶
Types ¶
type Cookies ¶
type Cookies struct { Cookiesession1 http.Cookie `json:"cookiesession1,omitempty" bson:"cookiesession1,omitempty"` Potp_session http.Cookie `json:"potp_session,omitempty" bson:"potp_session,omitempty"` }
func SetCookies ¶
func SetCookies(user UserSession) (usercookies Cookies)
type UserCookies ¶
type UserCred ¶
type UserCred struct { Username string `json:"username,omitempty" url:"username,omitempty"` Password string `json:"password,omitempty" url:"password,omitempty"` Nama string `json:"nama,omitempty" url:"nama,omitempty"` Session UserSession `json:"session,omitempty" url:"session,omitempty"` }
type UserSession ¶
Click to show internal directories.
Click to hide internal directories.