improve ss

This commit is contained in:
ginuerzh
2021-11-01 21:57:28 +08:00
parent e2995ece96
commit ec8615991b
71 changed files with 554 additions and 316 deletions

13
pkg/handler/handler.go Normal file
View File

@ -0,0 +1,13 @@
package handler
import (
"context"
"net"
"github.com/go-gost/gost/pkg/metadata"
)
type Handler interface {
Init(metadata.Metadata) error
Handle(context.Context, net.Conn)
}