Discover Packages
e.coding.net/nimrc/micro/paopao
mirc
admin
v1
package
Version:
v0.0.0-...-8be1489
Opens a new window with list of versions in this module.
Published: May 1, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AgentInfo struct {
Platform string `json:"platform"`
UserAgent string `json:"user_agent"`
}
type LoginReq struct {
AgentInfo AgentInfo `json:"agent_info"`
Name string `json:"name"`
Passwd string `json:"passwd"`
}
type ServerInfo struct {
ApiVer string `json:"api_ver"`
}
type User struct {
Chain Chain `mir:"-"`
Group Group `mir:"m/v1"`
Login func(Post, LoginReq ) LoginResp `mir:"/user/login/"`
Logout func(Post) `mir:"/user/logout/"`
}
type UserInfo struct {
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.