mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
13 lines
231 B
Go
13 lines
231 B
Go
package code
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/lwch/natpass/code/client/conn"
|
|
)
|
|
|
|
// New new code-server workspace
|
|
func (code *Code) New(conn *conn.Conn, w http.ResponseWriter, r *http.Request) {
|
|
w.Write([]byte(code.cfg.Name))
|
|
}
|