Versions in this module Expand all Collapse all v1 v1.4.3 Nov 5, 2022 Changes in this version + func Middleware(fn func(w http.Header), origins ...string) func(http.HandlerFunc) http.HandlerFunc + func NotAllowedHandler(fn func(w http.ResponseWriter), origins ...string) http.Handler