init-func.go 320 B

12345678910111213
  1. package routers
  2. import (
  3. controllers_func "syncscan-go/controllers/func"
  4. )
  5. func init() {
  6. // Important 보안에 주의 할것
  7. AddRoute(Route{[]string{"POST"}, "/gate-token-test", controllers_func.GateTokenTest})
  8. AddRoute(Route{[]string{"POST"}, "/gate-token-get", controllers_func.GateTokenGet})
  9. }