RedisList

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisListHandlerType

type RedisListHandlerType struct {
	Next            http.Handler //
	Paths           []string     // Path to respond to
	Prefix          string       // Redis Prefix of set of keys to return
	Filter          []string     // Array of value paris, Name(op)Value that is used to filter - probably should be expression // xyzzyGernalCaseFilter //
	UserRoles       []string     // Set of user roles that can mane this fetch
	UserRolesReject []string     //	User roles to not return data for - example anon-user

	LineNo int //
	// contains filtered or unexported fields
}

func NewRedisListServer

func NewRedisListServer(n http.Handler, p []string, prefix string, userRoles []string) *RedisListHandlerType

func (*RedisListHandlerType) InitializeWithConfigData

func (hdlr *RedisListHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)

func (*RedisListHandlerType) PreValidate

func (hdlr *RedisListHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)

func (*RedisListHandlerType) ServeHTTP

func (hdlr *RedisListHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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