api

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REDIS_KEY_DEFAULT_GENERIC_OR_UNAUTHENTICATED_DAV_REQUEST = "default-generic-or-unauthenticated-dav-request"
	REDIS_KEY_DEFAULT_USER_NOT_FOUND                         = "default-user-not-found"
	REDIS_KEY_DEFAULT_PROJECT_NOT_FOUND                      = "default-project-not-found"
	REDIS_KEY_DEFAULT_NON_DAV_REQUEST                        = "default-non-dav-request"

	MIGRATED    = "migrated"
	NOTMIGRATED = "not-migrated"

	DefaultGenericOrUnAuthenticatedDAVRequestOldProxy = "old-proxy"
	DefaultGenericOrUnAuthenticatedDAVRequestNewProxy = "new-proxy"

	DefaultUserNotFoundOldProxy = "old-proxy"
	DefaultUserNotFoundNewProxy = "new-proxy"

	DefaultProjectNotFoundOldProxy = "old-proxy"
	DefaultProjectNotFoundNewProxy = "new-proxy"

	DefaultNonDAVRequestOldProxy = "old-proxy"
	DefaultNonDAVRequestNewProxy = "new-proxy"

	RedisKeyUser    RedisKeyType = "user"
	RedisKeyProject RedisKeyType = "project"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultGenericOrUnAuthenticatedDAVRequest added in v1.0.7

type DefaultGenericOrUnAuthenticatedDAVRequest string

type DefaultNonDAVRequest added in v1.0.7

type DefaultNonDAVRequest string

type DefaultProjectNotFound added in v1.0.7

type DefaultProjectNotFound string

type DefaultProxyKey added in v1.0.6

type DefaultProxyKey string

type DefaultUserNotFound added in v1.0.7

type DefaultUserNotFound string

type IDoNotKnowWhatToDoKey added in v1.0.6

type IDoNotKnowWhatToDoKey string

type Migrator

type Migrator interface {
	IsKeyMigrated(ctx context.Context, key string) (bool, bool)
	GetDefaultGenericOrUnAuthenticatedDAVRequest(ctx context.Context) DefaultGenericOrUnAuthenticatedDAVRequest
	GetDefaultUserNotFound(ctx context.Context) DefaultUserNotFound
	GetDefaultProjectNotFound(ctx context.Context) DefaultProjectNotFound
	GetDefaultNonDAVRequest(ctx context.Context) DefaultNonDAVRequest
}

type RedisKeyType added in v1.0.7

type RedisKeyType string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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