mirror of
https://github.com/yudai/gotty.git
synced 2026-02-09 09:54:21 +01:00
Imported the existing codebase and refactored it to work with the new build system.
Adjusted dependencies to use our own repository mirrors. Modified the Makefile for proper build output and target directory.
This commit is contained in:
parent
a080c85cbc
commit
2424e48e17
118 changed files with 93 additions and 14369 deletions
|
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/gorilla/websocket"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/yudai/gotty/webtty"
|
||||
"github.com/kernel-punk/gotty/webtty"
|
||||
)
|
||||
|
||||
func (server *Server) generateHandleWS(ctx context.Context, cancel context.CancelFunc, counter *counter) http.HandlerFunc {
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ import (
|
|||
"github.com/gorilla/websocket"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/yudai/gotty/pkg/homedir"
|
||||
"github.com/yudai/gotty/pkg/randomstring"
|
||||
"github.com/yudai/gotty/webtty"
|
||||
"github.com/kernel-punk/gotty/pkg/homedir"
|
||||
"github.com/kernel-punk/gotty/pkg/randomstring"
|
||||
"github.com/kernel-punk/gotty/webtty"
|
||||
)
|
||||
|
||||
// Server provides a webtty HTTP endpoint.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"github.com/yudai/gotty/webtty"
|
||||
"github.com/kernel-punk/gotty/webtty"
|
||||
)
|
||||
|
||||
// Slave is webtty.Slave with some additional methods.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue