2023-03-21 13:28:41 +01:00
|
|
|
package proxy
|
2023-02-28 15:50:35 +01:00
|
|
|
|
|
|
|
import (
|
|
|
|
_ "embed"
|
|
|
|
|
|
|
|
"forge.cadoles.com/Cadoles/emissary/internal/spec"
|
|
|
|
"github.com/pkg/errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
//go:embed schema.json
|
|
|
|
var schema []byte
|
|
|
|
|
|
|
|
func init() {
|
2023-03-21 13:28:41 +01:00
|
|
|
if err := spec.Register(NameProxy, schema); err != nil {
|
2023-02-28 15:50:35 +01:00
|
|
|
panic(errors.WithStack(err))
|
|
|
|
}
|
|
|
|
}
|