📄️ Getting StartedGoFrame framework provides a powerful WebServer, implemented by the ghttp module, covering features such as routing, session management, and caching. It supports multiple port listening, domain binding, multi-instance operation, offering easy configuration management and server graceful restart capabilities, providing modularity and flexibility support for developers and reliable HTTP and HTTPS services for users.

    🗃️ Router 🔥3 items

    🗃️ API Document2 items

    🗃️ Request 🔥8 items

    🗃️ Response7 items

    🗃️ Configuration3 items

    📄️ CookieUse Cookie for session management in the GoFrame framework. Developers can easily get, set, and delete cookies through the ghttp.Request object. It also discusses obtaining and setting SessionId, handling cookie expiration, and simple methods to inherit and use session objects in controllers. These features provide powerful tools for web developers to manage user sessions, ensuring the flexibility and adaptability of web applications.

    🗃️ Session5 items

    📄️ Exception HandlingThe strategy for handling HTTP request exceptions in the GoFrame framework. When an exception occurs during a request, GoFrame automatically captures the panic to prevent process crashes and logs it to a file. Developers can customize middleware for exception capture and handling, obtaining detailed exception stack information to better pinpoint issues. This article provides multiple code examples to help readers understand the correct usage of exception handling.

    🗃️ HTTPClient11 items

    🗃️ Pagination5 items

    🗃️ Advanced Features12 items

    📄️ PerformancePerformance testing of the HTTP Server component in the GoFrame framework. With its modular and low-coupling design philosophy, the GoFrame framework provides developers with a powerful basic development environment. This article presents neutral third-party performance test reports to demonstrate the actual performance of the HTTP Server, helping developers better understand and assess the capabilities and advantages of the GoFrame framework.

    📄️ FAQAnswer common questions about frequent context cancel errors on the server side when using the GoFrame framework. This error is usually caused by the client actively canceling the request. The article introduces a way to handle this issue through custom middleware, allowing the server to ignore client cancellations and continue execution.