Documentation ¶
Overview ¶
Package position implements Service to manage positions of the connection space.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Service ¶
func NewService ¶
func NewService(config ServiceConfig) (Service, error)
NewService creates a new position service.
type ServiceConfig ¶
type ServiceConfig struct { // Dependencies. RandomService random.Service // Settings. DimensionCount int DimensionDepth int }
ServiceConfig represents the configuration used to create a new position service.
func DefaultServiceConfig ¶
func DefaultServiceConfig() ServiceConfig
DefaultServiceConfig provides a default configuration to create a new position service by best effort.
Click to show internal directories.
Click to hide internal directories.