Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a uniqueness service. The service computes a unique id for a given object by hashing the object's json representation together with a random salt. The random salt is used to avoid dictionary attacks. The random salt is stored in the KVS and is generated on the first call to the service.
func GetService ¶
func GetService(sp view.ServiceProvider) *Service
GetService returns the uniqueness service.
Click to show internal directories.
Click to hide internal directories.