stats

package
v0.21.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package stats produces statistics.

Package stats produces statistics.

Package stats produces statistics.

Package stats produces statistics.

Package stats produces statistics.

Package stats produces statistics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller is a stats controller.

func New

func New(cacher cache.Cacher, db *database.Database, h render.Renderer) *Controller

New creates a new stats controller.

func (*Controller) HandleKeyServerStats added in v0.21.0

func (c *Controller) HandleKeyServerStats(typ StatsType) http.Handler

HandleKeyServerStats renders statistics for the current realm's associate key-server.

func (*Controller) HandleRealmAuthorizedAppStats added in v0.21.0

func (c *Controller) HandleRealmAuthorizedAppStats(typ StatsType) http.Handler

HandleRealmAuthorizedAppStats renders statistics for an authorized app in the current realm.

func (*Controller) HandleRealmExternalIssuersStats

func (c *Controller) HandleRealmExternalIssuersStats(typ StatsType) http.Handler

HandleRealmExternalIssuersStats renders statistics for the current realm.

func (*Controller) HandleRealmStats

func (c *Controller) HandleRealmStats(typ StatsType) http.Handler

HandleRealmStats renders statistics for the current realm.

func (*Controller) HandleRealmUserStats

func (c *Controller) HandleRealmUserStats(typ StatsType) http.Handler

HandleRealmUserStats renders statistics for a single user in the current realm.

func (*Controller) HandleRealmUsersStats

func (c *Controller) HandleRealmUsersStats(typ StatsType) http.Handler

HandleRealmUsersStats renders statistics for the current realm.

type StatsType

type StatsType int64

StatsType represents a type of stat.

const (
	StatsTypeCSV StatsType
	StatsTypeJSON
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL