contracts/service.go
2023-04-12 16:56:55 +08:00

10 lines
144 B
Go

package contracts
import (
"net/http"
)
type Service interface {
Execute(*http.Request) any
ServeHTTP(http.ResponseWriter, *http.Request)
}