Versions in this module Expand all Collapse all v0 v0.6.0 Oct 9, 2020 Changes in this version + type DeleteConfigRequest struct + type DeleteConfigResponse struct + type DeleteLogRequest struct + type DeleteLogResponse struct + type DeleteMetaRequest struct + type DeleteMetaResponse struct + type DeleteSessionRequest struct + type DeleteSessionResponse struct + type GetLogResponse struct + CreateAt time.Time + Fields string + File string + Func string + ID uint + Level uint32 + Msg string + Stack string + func GetLogs(logs []model.Log) []GetLogResponse + type Meta struct + Desc string + Title string + type Notice struct + ID uint + Text string + Title string + func GetNotice(notice model.Notice) Notice + func GetNotices(notices []model.Notice) []Notice + type Plan struct + BandwidthLimit uint + ID uint + Name string + TrafficLimit uint + func GetPlan(plan model.Plan) Plan + func GetPlans(plans []model.Plan) []Plan + type PostConfigRequest struct + type PostConfigResponse struct + type PostLogRequest struct + type PostLogResponse struct + type PostMetaRequest struct + type PostMetaResponse struct + type PostNoticeRequest struct + Text string + Title string + type PostPlanRequest struct + BandwidthLimit uint + Name string + TrafficLimit uint + type PostSessionRequest struct + Password string + Username string + type PostSessionResponse struct + ErrorMsg string + OK bool + type PostUserRequest struct + Captcha string + Password string + Username string + type PostUserResponse struct + ErrorMsg string + OK bool + type PutConfigRequest struct + type PutConfigResponse struct + type PutLogRequest struct + type PutLogResponse struct + type PutMetaRequest struct + type PutMetaResponse struct + type PutSessionRequest struct + type PutSessionResponse struct + type User struct + ID uint + PlanBandwidthLimit uint + PlanEnd time.Time + PlanID uint + PlanName string + PlanReset time.Time + PlanStart time.Time + PlanTrafficLimit uint + Role uint + TrafficUsed uint + Username string + func GetUsers(users []model.User) []User