github.com/cjdelisle/matterfoss@v5.11.1+incompatible/app/server_license.go (about) 1 // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 // See License.txt for license information. 3 4 package app 5 6 import "github.com/mattermost/mattermost-server/model" 7 8 func (s *Server) License() *model.License { 9 license, _ := s.licenseValue.Load().(*model.License) 10 return license 11 }