Home / Function/ OPTIONS() — gin Function Reference

OPTIONS() — gin Function Reference

Architecture documentation for the OPTIONS() function in routergroup.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  db5234f8_51f2_9f51_c5e5_7eb61e878971["OPTIONS()"]
  018f1037_5a3b_d88a_c8ba_70efaa627f40["handle()"]
  db5234f8_51f2_9f51_c5e5_7eb61e878971 -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40
  style db5234f8_51f2_9f51_c5e5_7eb61e878971 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

routergroup.go lines 136–138

func (group *RouterGroup) OPTIONS(relativePath string, handlers ...HandlerFunc) IRoutes {
	return group.handle(http.MethodOptions, relativePath, handlers)
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does OPTIONS() do?
OPTIONS() is a function in the gin codebase.
What does OPTIONS() call?
OPTIONS() calls 1 function(s): handle.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free