libs5-go/service/http.go

12 lines
194 B
Go

package service
import (
"github.com/julienschmidt/httprouter"
"go.sia.tech/jape"
)
type HTTPService interface {
GetHttpRouter(inject map[string]jape.Handler) *httprouter.Router
Service
}