Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrefixLengths ¶
func NewPrefixLengths ¶
func NewPrefixLengths(conduitLength int, nodeLength int, childLength int) *PrefixLengths
type Storage ¶
type Storage interface {
Add(ctx context.Context, prefix Prefix) error
Update(ctx context.Context, prefix Prefix) error
Delete(ctx context.Context, prefix Prefix) error
Get(ctx context.Context, name string, parent Prefix) (Prefix, error)
GetChilds(ctx context.Context, prefix Prefix) ([]Prefix, error)
}
Click to show internal directories.
Click to hide internal directories.