Documentation ¶
Index ¶
- Constants
- type Entry
- type Registry
- func (this *Registry) AddPrimaryKey(key string, value interface{})
- func (this *Registry) AddSecondaryKey(first, second string)
- func (this *Registry) CheckConsistency() []string
- func (this *Registry) Dump(w io.Writer)
- func (this *Registry) NbPrimary() int
- func (this *Registry) NbSecondary() int
- func (this *Registry) Prepare()
- func (this *Registry) Primary(key string) interface{}
- func (this *Registry) RemovePrimaryKey(key string)
- func (this *Registry) RemoveSecondaryKey(first, second string)
- func (this *Registry) Secondary(key string) []interface{}
Constants ¶
View Source
const DEBUG = false
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
func (*Registry) AddPrimaryKey ¶
func (*Registry) AddSecondaryKey ¶
func (*Registry) CheckConsistency ¶
Check inconsistency. This method should never be used outside development. It allows to test if we entered the value with two different unique keys.
func (*Registry) NbSecondary ¶
func (*Registry) RemovePrimaryKey ¶
func (*Registry) RemoveSecondaryKey ¶
Click to show internal directories.
Click to hide internal directories.