mirror of
https://github.com/yudai/gotty.git
synced 2026-01-07 10:08:50 +01:00
Bump module major version to v2
This commit is contained in:
parent
0e16740b7d
commit
ab9ea2b95f
7 changed files with 12 additions and 12 deletions
|
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/gorilla/websocket"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/ghthor/gotty/webtty"
|
||||
"github.com/ghthor/gotty/v2/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/ghthor/gotty/pkg/homedir"
|
||||
"github.com/ghthor/gotty/pkg/randomstring"
|
||||
"github.com/ghthor/gotty/webtty"
|
||||
"github.com/ghthor/gotty/v2/pkg/homedir"
|
||||
"github.com/ghthor/gotty/v2/pkg/randomstring"
|
||||
"github.com/ghthor/gotty/v2/webtty"
|
||||
)
|
||||
|
||||
// Server provides a webtty HTTP endpoint.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"github.com/ghthor/gotty/webtty"
|
||||
"github.com/ghthor/gotty/v2/webtty"
|
||||
)
|
||||
|
||||
// Slave is webtty.Slave with some additional methods.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue