metadata

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserMetadataManager

type UserMetadataManager struct {
	sync.RWMutex
	graph.DefaultGraphListener
	// contains filtered or unexported fields
}

UserMetadataManager describes user metadata manager

func NewUserMetadataManager

func NewUserMetadataManager(g *graph.Graph, u *api.UserMetadataAPIHandler) *UserMetadataManager

NewUserMetadataManager creates a new user metadata manager

func (*UserMetadataManager) OnNodeAdded

func (u *UserMetadataManager) OnNodeAdded(n *graph.Node)

OnNodeAdded event

func (*UserMetadataManager) OnNodeUpdated

func (u *UserMetadataManager) OnNodeUpdated(n *graph.Node)

OnNodeUpdated event

func (*UserMetadataManager) Start

func (u *UserMetadataManager) Start()

Start starts user metadata manager

func (*UserMetadataManager) Stop

func (u *UserMetadataManager) Stop()

Stop stops user metadata manager

Jump to

Keyboard shortcuts

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