()
| 53 | } |
| 54 | |
| 55 | func (s *server) PrintBanner() { |
| 56 | fmt.Print(` |
| 57 | ___ _ _ |
| 58 | / __\ | ___ _ _ __| |_ __ _____ _____ |
| 59 | / / | |/ _ \| | | |/ _ | '__/ _ \ \ / / _ \ |
| 60 | / /___| | (_) | |_| | (_| | | | __/\ V / __/ |
| 61 | \____/|_|\___/ \__,_|\__,_|_| \___| \_/ \___| |
| 62 | |
| 63 | V` + constants.BackendVersion + ` Commit #` + constants.LastCommit + ` Pro=` + constants.IsPro + ` |
| 64 | ================================================ |
| 65 | |
| 66 | `) |
| 67 | } |
| 68 | |
| 69 | func (s *server) Start() error { |
| 70 | // Debug 关闭时,切换为生产模式 |
nothing calls this directly
no outgoing calls
no test coverage detected