vikunja/pkg/metrics/metrics.go
kolaente c374117b93
Some checks failed
the build failed
metrics so far
2018-12-11 11:10:25 +01:00

35 lines
1.0 KiB
Go

// Vikunja is a todo-list application to facilitate your life.
// Copyright 2018 Vikunja and contributors. All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
package metrics
func init() {
// Currently active users
AllActiveUsers = []ActiveUser{}
// List count
ListCount = make(chan int64)
ListCountUpdate = make(chan int64)
//ListCount = 0
/* More Metrics:
* Total Users
* Total Namespaces
* Total Tasks
* Total Shares?
*/
}