Browse Source
* set automatic https error type for cert-magic failures * add state to onload and unload methods * update reverse proxy to use Provision() and Cleanup()master
dev
6 years ago
12 changed files with 65 additions and 24 deletions
@ -1,11 +0,0 @@ |
|||
package caddyscript |
|||
|
|||
import ( |
|||
"fmt" |
|||
|
|||
"go.starlark.net/starlark" |
|||
) |
|||
|
|||
func invalidReciever(v starlark.Value, want string) (starlark.Value, error) { |
|||
return starlark.None, fmt.Errorf("invalid receiver: receiver set to type %v, want %v", v.Type(), want) |
|||
} |
Loading…
Reference in new issue