Discover Packages
github.com/rocboss/paopao-ce
mirc
admin
v1
package
Version:
v0.2.0-beta
Opens a new window with list of versions in this module.
Published: Feb 20, 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.