github.com/qichengzx/mattermost-server@v4.5.1-0.20180604164826-2c75247c97d0+incompatible/cmd/mattermost/main.go (about)

     1  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
     2  // See License.txt for license information.
     3  
     4  package main
     5  
     6  import (
     7  	"os"
     8  
     9  	"github.com/mattermost/mattermost-server/cmd/mattermost/commands"
    10  
    11  	// Plugins
    12  	_ "github.com/mattermost/mattermost-server/model/gitlab"
    13  
    14  	// Enterprise Imports
    15  	_ "github.com/mattermost/mattermost-server/imports"
    16  
    17  	// Enterprise Deps
    18  	_ "github.com/dgryski/dgoogauth"
    19  	_ "github.com/go-ldap/ldap"
    20  	_ "github.com/hako/durafmt"
    21  	_ "github.com/hashicorp/memberlist"
    22  	_ "github.com/mattermost/rsc/qr"
    23  	_ "github.com/prometheus/client_golang/prometheus"
    24  	_ "github.com/prometheus/client_golang/prometheus/promhttp"
    25  	_ "github.com/tylerb/graceful"
    26  	_ "gopkg.in/olivere/elastic.v5"
    27  )
    28  
    29  func main() {
    30  	if err := commands.Run(os.Args[1:]); err != nil {
    31  		os.Exit(1)
    32  	}
    33  }