Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheHandler ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHttpHandler ¶
func NewHttpHandler(config *config.Config, handler *gin.Engine, cacheDriver service.CacheInterface) *Handler
NewHttpHandler initializes a new HTTP handler with the given configuration and cache driver.
func (*Handler) ReverseProxy ¶
ReverseProxy handles the reverse proxy logic, using cache if applicable.
Click to show internal directories.
Click to hide internal directories.