Browse Source

change license

master
godo 7 months ago
parent
commit
3ea54d2073
  1. 42
      godo/cmd/main.go
  2. 41
      godo/cmd/serve.go
  3. 41
      godo/deps/frontend.go
  4. 41
      godo/files/destop.go
  5. 41
      godo/files/fs.go
  6. 41
      godo/files/init.go
  7. 41
      godo/files/os.go
  8. 41
      godo/files/unzip.go
  9. 41
      godo/files/watch.go
  10. 41
      godo/files/zip.go
  11. 41
      godo/libs/chatip.go
  12. 41
      godo/libs/config.go
  13. 41
      godo/libs/dir.go
  14. 41
      godo/libs/info.go
  15. 41
      godo/libs/msg.go
  16. 40
      godo/localchat/addr.go
  17. 40
      godo/localchat/check.go
  18. 41
      godo/localchat/filedown.go
  19. 41
      godo/localchat/filemsg.go
  20. 41
      godo/localchat/getfiles.go
  21. 40
      godo/localchat/image.go
  22. 41
      godo/localchat/send.go
  23. 41
      godo/localchat/server.go
  24. 41
      godo/main.go
  25. 41
      godo/store/checkactive.go
  26. 41
      godo/store/cmds.go
  27. 41
      godo/store/download.go
  28. 41
      godo/store/install.go
  29. 41
      godo/store/linux.go
  30. 41
      godo/store/os.go
  31. 41
      godo/store/port.go
  32. 41
      godo/store/progress.go
  33. 41
      godo/store/start.go
  34. 41
      godo/store/stop.go
  35. 41
      godo/store/store.go
  36. 41
      godo/store/types.go
  37. 41
      godo/store/upload.go
  38. 41
      godo/store/windows.go
  39. 41
      godo/sys/msg.go
  40. 41
      godo/sys/setting.go
  41. 41
      godo/sys/update.go
  42. 41
      godo/webdav/auth.go
  43. 41
      godo/webdav/basicAuth.go
  44. 41
      godo/webdav/client.go
  45. 41
      godo/webdav/digestAuth.go
  46. 41
      godo/webdav/errors.go
  47. 41
      godo/webdav/file.go
  48. 41
      godo/webdav/httpclient.go
  49. 41
      godo/webdav/netrc.go
  50. 41
      godo/webdav/passportAuth.go
  51. 41
      godo/webdav/requests.go
  52. 41
      godo/webdav/utils.go

42
godo/cmd/main.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package cmd package cmd
import ( import (
@ -82,7 +77,6 @@ func OsStart() {
router.HandleFunc("/system/update", sys.UpdateAppHandler).Methods(http.MethodGet) router.HandleFunc("/system/update", sys.UpdateAppHandler).Methods(http.MethodGet)
router.HandleFunc("/system/setting", sys.ConfigHandler).Methods(http.MethodPost) router.HandleFunc("/system/setting", sys.ConfigHandler).Methods(http.MethodPost)
fileRouter := router.PathPrefix("/file").Subrouter() fileRouter := router.PathPrefix("/file").Subrouter()
fileRouter.HandleFunc("/desktop", files.HandleDesktop).Methods(http.MethodGet) fileRouter.HandleFunc("/desktop", files.HandleDesktop).Methods(http.MethodGet)
fileRouter.HandleFunc("/info", files.HandleSystemInfo).Methods(http.MethodGet) fileRouter.HandleFunc("/info", files.HandleSystemInfo).Methods(http.MethodGet)

41
godo/cmd/serve.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package cmd package cmd
import ( import (

41
godo/deps/frontend.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package deps package deps
import "embed" import "embed"

41
godo/files/destop.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package files package files
import ( import (

41
godo/files/fs.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package files package files
import ( import (

41
godo/files/init.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package files package files
import ( import (

41
godo/files/os.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package files package files
import ( import (

41
godo/files/unzip.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package files package files
import ( import (

41
godo/files/watch.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package files package files
import ( import (

41
godo/files/zip.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package files package files
import ( import (

41
godo/libs/chatip.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package libs package libs
import ( import (

41
godo/libs/config.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package libs package libs
import ( import (

41
godo/libs/dir.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package libs package libs
import ( import (

41
godo/libs/info.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package libs package libs
import ( import (

41
godo/libs/msg.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package libs package libs
import ( import (

40
godo/localchat/addr.go

@ -1,26 +1,20 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat

40
godo/localchat/check.go

@ -1,26 +1,20 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat

41
godo/localchat/filedown.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat
import ( import (

41
godo/localchat/filemsg.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat
import ( import (

41
godo/localchat/getfiles.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat
import ( import (

40
godo/localchat/image.go

@ -1,26 +1,20 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat

41
godo/localchat/send.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat
import ( import (

41
godo/localchat/server.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package localchat package localchat
import ( import (

41
godo/main.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package main package main
import "godo/cmd" import "godo/cmd"

41
godo/store/checkactive.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/cmds.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/download.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/install.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/linux.go

@ -1,28 +1,23 @@
//go:build !windows //go:build !windows
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/os.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/port.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/progress.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/start.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/stop.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/store.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/types.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
// InstallInfo 描述了应用程序的安装信息。 // InstallInfo 描述了应用程序的安装信息。

41
godo/store/upload.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/store/windows.go

@ -1,29 +1,24 @@
//go:build windows //go:build windows
// +build windows // +build windows
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package store package store
import ( import (

41
godo/sys/msg.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package sys package sys
import ( import (

41
godo/sys/setting.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package sys package sys
import ( import (

41
godo/sys/update.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package sys package sys
import ( import (

41
godo/webdav/auth.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/basicAuth.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/client.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/digestAuth.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/errors.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/file.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/httpclient.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/netrc.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/passportAuth.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/requests.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

41
godo/webdav/utils.go

@ -1,26 +1,21 @@
// MIT License /*
// * godoos - A lightweight cloud desktop
// Copyright (c) 2024 godoos.com * Copyright (C) 2024 godoos.com
// Email: xpbb@qq.com *
// GitHub: github.com/phpk/godoos * This program is free software: you can redistribute it and/or modify
// * it under the terms of the GNU Lesser General Public License as published by
// Permission is hereby granted, free of charge, to any person obtaining a copy * the Free Software Foundation, either version 2.1 of the License, or
// of this software and associated documentation files (the "Software"), to deal * (at your option) any later version.
// in the Software without restriction, including without limitation the rights *
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * This program is distributed in the hope that it will be useful,
// copies of the Software, and to permit persons to whom the Software is * but WITHOUT ANY WARRANTY; without even the implied warranty of
// furnished to do so, subject to the following conditions: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// The above copyright notice and this permission notice shall be included in all *
// copies or substantial portions of the Software. * You should have received a copy of the GNU Lesser General Public License
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
package webdav package webdav
import ( import (

Loading…
Cancel
Save