Versions in this module Expand all Collapse all v0 v0.0.2 Aug 4, 2025 Changes in this version type MessageFromFronted + EulogistUniqueID string v0.0.1 Aug 4, 2025 Changes in this version + const ActionTypeAddCustomHelper + const ActionTypeAddStdEmailHelper + const ActionTypeEditManageServer + const ActionTypeEditRentalServer + const ActionTypeFinishLogin + const ActionTypeOpenNewTransaction + const ActionTypeReLogin + const ActionTypeRemoveManageServer + const ActionTypeRemoveRentalServer + const ActionTypeRequestServerList + const RequestTypeGetUserInfoAdmin + const RequestTypeGetUserInfoNormal + const ResponseTypeClientNeedReceiveSMS + const ResponseTypeClientNeedSendSMS + const ResponseTypeLoginSuccess + const ResponseTypeMeetError + type AllowListDeleteRequest struct + EulogistUserName string + RentalServerNumber string + Token string + type AllowListDeleteResponse struct + ErrorInfo string + Success bool + type AllowListGetRequest struct + RentalServerNumber string + Token string + type AllowListGetResponse struct + CanGetGameSavesKeyCipher []bool + DisableOpertorVerify []bool + ErrorInfo string + Success bool + UserNames []string + type AllowListUpdateRequest struct + CanGetGameSavesKeyCipher bool + DisableOpertorVerify bool + EulogistUserName string + RentalServerNumber string + Token string + type AllowListUpdateResponse struct + ErrorInfo string + Success bool + type ChangeMainConfigRequest struct + EulogistUserName string + NewUserData []byte + Token string + type ChangeMainConfigResponse struct + ErrorInfo string + Success bool + type CustomHelperModifyRequest struct + AuthServerAddress string + AuthServerToken string + Index uint + Token string + type CustomHelperModifyResponse struct + ErrorInfo string + Success bool + type DevTokenAsk struct + HelperUniqueID string + Token string + type DevTokenResp struct + ErrorInfo string + Success bool + Token string + type Function struct + func NewFunction(interact *server.Interact) (result *Function, err error) + func (f *Function) AddNewHelper() error + func (f *Function) AddNewRentalServerConfig() error + func (f *Function) AdminChangeMainConfig(eulogistUserName string) error + func (f *Function) AdminChangeManager(eulogistUserName string) error + func (f *Function) BeforePlayPrepare(rentalServerNumber string) (aesCipher []byte, err error) + func (f *Function) ChangeCurrentHelper() error + func (f *Function) DeleteHelper() error + func (f *Function) DevAskToken() error + func (f *Function) EulogistConfig() *define.LocalConfig + func (f *Function) EulogistUserData() *define.EulogistUser + func (f *Function) GetGameSavesKey() error + func (f *Function) Interact() *server.Interact + func (f *Function) ListServerCanManage() (rentalServerNumber string, isUserCancel bool, err error) + func (f *Function) MessageChannel() *MessageChannel + func (f *Function) ModifyCustomHelper() error + func (f *Function) ModifyRentalServerConfig() error + func (f *Function) RegisterOrLogin() (exitGame bool, err error) + func (f *Function) RemoveRentalServerConfig() error + func (f *Function) RentalServerManage(afterSelectRentalServer func(rentalServerNumber string) error) (isUserCancel bool, err error) + func (f *Function) RentalServerManageAddNew(rentalServerNumber string) error + func (f *Function) RentalServerManageDelete(rentalServerNumber string) error + func (f *Function) RentalServerManageModify(rentalServerNumber string) error + func (f *Function) RequestUserInfo(isReGet bool) error + func (f *Function) SelectRentalServerAndStartPlay() (backedMessage *MessageFromBacked, err error) + func (f *Function) SetPEAuth() error + func (f *Function) ShowAuthServerError(neteaseRequireVerify bool, verifyURl string, errorInfo string) (isUserCancel bool, err error) + func (f *Function) ShowEulogistSearch() (eulogistUserName string, isUserCancel bool, err error) + func (f *Function) ShowHelperDetails() error + func (f *Function) StartPlayByLastConfig() (backedMessage *MessageFromBacked, err error) + type GameSavesKeyRequest struct + RentalServerNumber string + Token string + type GameSavesKeyResponse struct + AESCipher []byte + ErrorInfo string + Success bool + type HelperAddRequest struct + ActionType uint8 + AuthServerAddress string + AuthServerToken string + Email string + MD5Password string + Token string + TransactionUUID string + type HelperAddResponse struct + ErrorInfo string + G79UserUID string + GameNickName string + HelperUniqueID string + NetEaseRequireVerify bool + Success bool + VerifyURL string + type HelperChangeRequest struct + Index uint + Token string + type HelperChangeResponse struct + ErrorInfo string + G79UserUID string + GameNickName string + NetEaseRequireVerify bool + Success bool + VerifyURL string + type HelperDeleteRequest struct + Index uint + Token string + type HelperDeleteResponse struct + ErrorInfo string + Success bool + type HelperInfoRequest struct + Token string + type HelperInfoResponse struct + ErrorInfo string + G79UserUID string + GameNickName string + NetEaseRequireVerify bool + Success bool + VerifyURL string + type LoginRequest struct + IsRegister bool + UserName string + UserPasswordSum256 []byte + type LoginResponse struct + ErrorInfo string + EulogistToken string + Success bool + type ManagerChangeRequest struct + ActionType uint8 + EulogistUserName string + ServerNumber string + Token string + type ManagerChangeResponse struct + ErrorInfo string + ServerCanManage []string + Success bool + type MessageChannel struct + func NewMessageChannel() *MessageChannel + func (m *MessageChannel) BackedMessageChannel() <-chan MessageFromBacked + func (m *MessageChannel) FrontedMessageChannel() <-chan MessageFromFronted + func (m *MessageChannel) NotifyToBacked(message MessageFromFronted) + func (m *MessageChannel) NotifyToFronted(message MessageFromBacked) + type MessageFromBacked struct + CanTerminate bool + LoginServerMeetError bool + LoginServrErrorInfo string + TransferAddress string + TransferPort uint16 + type MessageFromFronted struct + AuthServerAddress string + AuthServerToken string + GameSavesAESCipher []byte + ProvidedPeAuthData string + RentalServerNumber string + RentalServerPasscode string + type PEAuthSetRequest struct + PEAuth string + Token string + type PEAuthSetResponse struct + ErrorInfo string + Success bool + type RentalServerListRequest struct + ActionType uint8 + ServerNumber string + ServerPassCode string + Token string + type RentalServerListResponse struct + ErrorInfo string + Success bool + type SMSHelperAddRequest struct + ActionType uint8 + Mobile string + SMSVerifyCode string + Token string + TransactionUUID string + type SMSHelperAddResponse struct + ErrorInfo string + G79UserUID string + GameNickName string + HelperUniqueID string + ResponseType uint8 + VerifyURL string + type UserInfoRequest struct + EulogistUserName string + RequestType uint8 + Token string + type UserInfoResponse struct + ErrorInfo string + Payload []byte + Success bool + type UserSearchRequest struct + FilterString string + Token string + type UserSearchResponse struct + ErrorInfo string + HitUserName []string + Success bool