Skip to content
  • This project
    • Loading...
  • Sign in

张磊 / FileStorageBeego

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • FileStorageBeego
  • example
  • chat
  • main.go
  • astaxie's avatar
    add chat example · 31fbd524
    astaxie committed 2013-09-10 18:38:40 +0800
    31fbd524
main.go 236 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
package main

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/example/chat/controllers"
)

func main() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/ws", &controllers.WSController{})
	beego.Run()
}