I would like to ask go websocket server how to achieve file upload? Is there any specific reference?

recently encountered a problem, go write websocket server how to achieve file upload function? Baidu Google did not find the answer they wanted. Is there any example of a third party or that can run successfully?

tried to search for some answers, but they were all related to web uploading files. I don"t know if there is something wrong with my understanding or the wrong search keywords. Please correct or give a simple example. O ( _ ) O Thank you

Mar.02,2021

first of all, the front-end js has no way to access the file like the back-end. The front-end only supports http form processing files. Unless you websocket server can handle this kind of message, I don't think it will work! You can extend websocket server, and open an extra http service to receive it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c25165-33756.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c25165-33756.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?