# Functions
NewBeforeCtx create new BeforeCtx with fields initialized.
NewOptionSet Create new optionSet with options.
NewOptionSetMock for testing purpose.
ToOptions convert BootConfig into Option list.
WithAllowCredentials allow credentials or not.
WithAllowHeaders provide allowed headers.
WithAllowMethods provide allowed http methods.
WithAllowOrigins provide allowed origins.
WithEntryNameAndType provide entry name and entry type.
WithExposeHeaders provide expose headers.
WithIgnorePrefix provide paths prefix that will ignore.
WithMaxAge provide max age.
WithMockOptionSet provide mock OptionSetInterface.
# Interfaces
OptionSetInterface mainly for testing purpose.
# Type aliases
Option.