storage

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package storage defines storages which store the analytics data from iam-authz-server.

Index

Constants

View Source
const (
	// AnalyticsKeyName defines the key name in redis which used to analytics.
	AnalyticsKeyName string = "iam-system-analytics"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsStorage

type AnalyticsStorage interface {
	Init(config interface{}) error
	GetName() string
	Connect() bool
	GetAndDeleteSet(string) []interface{}
}

AnalyticsStorage defines the analytics storage interface.

Directories

Path Synopsis
Package redis provides an redis implementation of the AnalyticsStorage storage interface.
Package redis provides an redis implementation of the AnalyticsStorage storage interface.

Jump to

Keyboard shortcuts

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