Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoginCmd ¶
NewLoginCmd creates the login command (added to root)
func NewLogoutCmd ¶
NewLogoutCmd creates the logout command (added to root)
Types ¶
type AuthStatusResponse ¶
type AuthStatusResponse struct {
LoggedIn bool `json:"logged_in"`
Token string `json:"token,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
ExpiresAt string `json:"expires_at,omitempty"`
Expired bool `json:"expired,omitempty"`
}
AuthStatusResponse represents the JSON response for auth status
Click to show internal directories.
Click to hide internal directories.