initial commit
This commit is contained in:
11
server/handler/handler.go
Normal file
11
server/handler/handler.go
Normal file
@ -0,0 +1,11 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"context"
|
||||
"net"
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
Init(md Metadata) error
|
||||
Handle(context.Context, net.Conn)
|
||||
}
|
Reference in New Issue
Block a user