gf_tagger_lib

package
v0.0.0-...-a1b0e2b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(pTagStr string,
	pObjID gf_core.GF_ID,
	pObjectTypeStr string,
	pUserID gf_core.GF_ID,
	pCtx context.Context,
	pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror

func CreateIfMissing

func CreateIfMissing(pTagsLst []string,
	pObjID gf_core.GF_ID,
	pObjectTypeStr string,
	pUserID gf_core.GF_ID,
	pCtx context.Context,
	pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror

func DBmongoIndexInit

func DBmongoIndexInit(pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror

func DBsqlCheckTagExists

func DBsqlCheckTagExists(pTagStr string,
	pRuntimeSys *gf_core.RuntimeSys) (bool, *gf_core.GFerror)

func InitService

func InitService(pAuthSubsystemTypeStr string,
	pAuthLoginURLstr string,
	pKeyServer *gf_identity_core.GFkeyServerInfo,
	pHTTPmux *http.ServeMux,
	pTemplatesPathsMap map[string]string,
	pImagesJobsMngr gf_images_jobs_core.JobsMngr,
	pRuntimeSys *gf_core.RuntimeSys)

Types

type GFnote

type GFnote struct {
	UserIDstr           string `json:"user_id_str"         bson:"user_id_str"` //user_id of the user that attached this note
	BodyStr             string `json:"body_str"            bson:"body_str"`
	TargetObjIDstr      string `json:"target_obj_id_str"   bson:"target_obj_id_str"`   //object_id to which this note is attached
	TargetObjTypeStr    string `json:"target_obj_type_str" bson:"target_obj_type_str"` //"post"|"image"|"video"
	CreationDatetimeStr string `json:"creation_datetime_str"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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