# Functions
NewBeforeCtx create new BeforeCtx with fields initialized.
NewOptionSet Create new optionSet with options.
NewOptionSetMock for testing purpose.
ToOptions convert BootConfig into Option list.
WithContentSecurityPolicy provide Content-Security-Policy header value.
WithContentTypeNosniff provide X-Content-Type-Options header value.
WithCSPReportOnly provide Content-Security-Policy-Report-Only header value.
WithEntryNameAndType provide entry name and entry type.
WithHSTSExcludeSubdomains provide excluding subdomains of HSTS.
WithHSTSMaxAge provide Strict-Transport-Security header value.
WithHSTSPreloadEnabled provide enabling HSTS preload.
WithIgnorePrefix provide paths prefix that will ignore.
WithMockOptionSet provide mock OptionSetInterface.
WithReferrerPolicy provide Referrer-Policy header value.
WithXFrameOptions provide X-Frame-Options header value.
WithXSSProtection provide X-XSS-Protection header value.
# Interfaces
OptionSetInterface mainly for testing purpose.
# Type aliases
Option.