tagDemand

package
v0.0.0-...-0e3259e Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 3 Imported by: 5

Documentation

Overview

Package tagDemand "Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any 7ne will do. The package comment should introduce the package and provide information relevant to the package as a whole. It will appear first on the godoc page and should set up the detailed documentation that follows."

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeysByDemandOrTagKey

func GetKeysByDemandOrTagKey(ctx context.Context, key *datastore.Key) (
	[]*datastore.Key, error)

GetKeysByDemandOrTagKey returns the demand keys as a slice if the tag key is provided or returns the tag keys as a slice if demand key is provided and also an error.

func GetKeysParentsFilteredByTagKeyLimited

func GetKeysParentsFilteredByTagKeyLimited(ctx context.Context, kt *datastore.Key, lim int) (
	[]*datastore.Key, string, string, error)

GetKeysParentsFilteredByTagKeyLimited returns limited number of the key's parent key from the begining of the kind with given filter and order starting and ending cursors as string and also an error. ADD LOCATION FILTER HERE AND USE ACCOUNTS ADDRES INFO.

func GetNextKeysParentsFilteredByTagKeyLimited

func GetNextKeysParentsFilteredByTagKeyLimited(ctx context.Context, crsrAsString string,
	kt *datastore.Key, lim int) ([]*datastore.Key, string, error)

GetNextKeysParentsFilteredByTagKeyLimited returns limited number of the key's parent key from the previous end point with given filter and order. And also an error.

ADD LOCATION FILTER HERE AND USE ACCOUNTS ADDRES INFO.

func GetPrevKeysParentsFilteredByTagKey

func GetPrevKeysParentsFilteredByTagKey(ctx context.Context, crsrAsString string,
	kt *datastore.Key) ([]*datastore.Key, string, error)

GetPrevKeysParentsFilteredByTagKey returns the key's parent key from the begining to the previous start point with given filter and order. And also an error.

ADD LOCATION FILTER HERE AND USE ACCOUNTS ADDRES INFO.

Types

type TagDemand

type TagDemand struct {
	Created time.Time
	TagKey  *datastore.Key
}

TagDemand datastore: ",noindex" causes json naming problems !!!!!!!!!!!!!!!!!!!!!!!!!!!! Encoded tag key is key's stringID and demand key is the parent key.

func GetDistinctLatestLimited

func GetDistinctLatestLimited(ctx context.Context, lim int) ([]TagDemand, error)

GetDistinctLatestLimited returns distinct entities from limited results and also an error.

type TagDemands

type TagDemands []*TagDemand

TagDemands is a []*TagDemand

Jump to

Keyboard shortcuts

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