github.com/vnforks/kid/v5@v5.22.1-0.20200408055009-b89d99c65676/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/vnforks/kid/v5/model" 7 8 func (s *Server) License() *model.License { 9 license, _ := s.licenseValue.Load().(*model.License) 10 return license 11 }