Initial commit: web_hghl_server
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"time"
|
||||
"videoweb/app/api/lawandtrust"
|
||||
"videoweb/app/middleware/templatecache"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func lawAndTrustRouter(r *gin.Engine) {
|
||||
r.GET("/useragreement/", templatecache.WithCache(time.Minute*1), lawandtrust.UserAgreementApi)
|
||||
r.GET("/privacyPolicy/", templatecache.WithCache(time.Minute*1), lawandtrust.PrivacyPolicyApi)
|
||||
r.GET("/dmca/", templatecache.WithCache(time.Minute*1), lawandtrust.DmcaApi)
|
||||
r.GET("/statement/", templatecache.WithCache(time.Minute*1), lawandtrust.StatementApi)
|
||||
}
|
||||
Reference in New Issue
Block a user