Versions in this module Expand all Collapse all v1 v1.1.1 Aug 25, 2021 v1.1.0 Aug 24, 2021 Changes in this version type Config + Cron struct{ ... } v1.0.0 Aug 23, 2021 Changes in this version + func AesDecryptECB(encrypted []byte) (decrypted []byte) + func AesEncryptECB(data string) (encrypted []byte) + func ChooseUserAgent() string + func CreateNewRequest(data string, url string, options RequestData) (answer string, err error) + func EapiRequest(eapiOption eapiOption, options RequestData) (result string, err error) + func Format2Params(str string) (data string) + func MakeRequest(url string, data RequestData) ([]byte, error) + func SpliceStr(path string, data string) (result string) + type APIConfig struct + NeteaseAPI string + type CloudbeanData struct + Code int + Data struct{ ... } + Message string + func GetCloudbeanData(data RequestData, config APIConfig) (result CloudbeanData, err error) + type CommentConfig struct + CommentId int + CommentType int + Content string + ID int + ResType int + ThreadId int + type CommentResult struct + Code int + Comment struct{ ... } + Message string + func Comment(data RequestData, commentConfig CommentConfig, config APIConfig) (result CommentResult, err error) + type Config struct + CommentReplyConfig struct{ ... } + Content []string + DEBUG bool + EventSendConfig struct{ ... } + NeteaseAPI string + SendMsgConfig struct{ ... } + Users []struct{ ... } + type Cookies []struct + type DelEventConfig struct + ER string + Header string + ID string + type EventConfig struct + AddComment string + ER string + Header string + Msg string + Pics string + Type string + UUID string + type Headers []struct + type LagConfig struct + DefaultLag int + LagBetweenSendAndDelete bool + LagMax int + LagMin int + RandomLag bool + type LoginStatData struct + Data struct{ ... } + func GetLoginStat(data RequestData, config APIConfig) (result LoginStatData, err error) + type MusicianSignResult struct + Code int + Data bool + Message string + func MusicianSign(data RequestData, config APIConfig) (result MusicianSignResult, err error) + type PlainResult struct + Code int + Message string + Msg string + func DelEvent(data RequestData, eventID int) (result PlainResult, err error) + func ObtainCloudBean(data RequestData, userMissionId, period int, config APIConfig) (result PlainResult, err error) + type RandomNum struct + DefaultNum int + IsRandom bool + MaxNum int + MinNum int + func (r *RandomNum) Get() int + func (r *RandomNum) Set(config LagConfig) + type RequestData struct + Body string + Cookies Cookies + Headers Headers + type SendEventResult struct + Code int + Event struct{ ... } + Id int + Message string + ResUrl string + Sns struct{} + UserId int + func SendEvent(data RequestData, msg string) (result SendEventResult, err error) + type SendMsgResult struct + Blacklist []interface{} + Code int + Id int + NewMsgs []struct{ ... } + Sendblacklist []interface{} + func SendMsg(data RequestData, userID []int, msg string, config APIConfig) (result SendMsgResult, err error) + type TasksData struct + Code int + Data struct{ ... } + Message string + func GetTasksData(data RequestData, config APIConfig) (result TasksData, err error) + type UserDetailData struct + AdValid bool + Bindings []struct{ ... } + Code int + CreateDays int + CreateTime int + CurrentExpert struct{ ... } + CurrentProduct interface{} + ExpertArray []struct{ ... } + Identify struct{ ... } + Level int + ListenSongs int + MobileSign bool + PcSign bool + PeopleCanSeeMyPlayRecord bool + Products []struct{ ... } + Profile struct{ ... } + UserPoint struct{ ... } + func GetUserDetail(data RequestData, uid int, config APIConfig) (result UserDetailData, err error) + type UserSignResult struct + Code int + Msg string + Point int + func UserSign(data RequestData, signType int, config APIConfig) (result UserSignResult, err error)