index

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URMByUserIndexMapping = kv.NewIndexMapping(
	[]byte("userresourcemappingsv1"),
	[]byte("userresourcemappingsbyuserindexv1"),
	func(v []byte) ([]byte, error) {
		var urm influxdb.UserResourceMapping
		if err := json.Unmarshal(v, &urm); err != nil {
			return nil, err
		}

		id, _ := urm.UserID.Encode()
		return id, nil
	},
)

URMByUserIndeMappingx is the mapping description of an index between a user and a URM

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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