github.com/mattermosttest/mattermost-server/v5@v5.0.0-20200917143240-9dfa12e121f9/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/v5/cmd/mattermost/commands"
    10  
    11  	// Plugins
    12  	_ "github.com/mattermost/mattermost-server/v5/model/gitlab"
    13  
    14  	// Enterprise Imports
    15  	_ "github.com/mattermost/mattermost-server/v5/imports"
    16  
    17  	// Enterprise Deps
    18  	_ "github.com/gorilla/handlers"
    19  	_ "github.com/hako/durafmt"
    20  	_ "github.com/hashicorp/memberlist"
    21  	_ "github.com/mattermost/gosaml2"
    22  	_ "github.com/mattermost/ldap"
    23  	_ "github.com/mattermost/rsc/qr"
    24  	_ "github.com/prometheus/client_golang/prometheus"
    25  	_ "github.com/prometheus/client_golang/prometheus/promhttp"
    26  	_ "github.com/tylerb/graceful"
    27  	_ "gopkg.in/olivere/elastic.v6"
    28  )
    29  
    30  func main() {
    31  	if err := commands.Run(os.Args[1:]); err != nil {
    32  		os.Exit(1)
    33  	}
    34  }