• Steven Allen's avatar
    feat: move options to main package and make internals private (#486) · 30fa0861
    Steven Allen authored
    * feat: move options to main package and make internals private
    
    Rationale:
    
    1. This allows us to make private options for testing.
    2. This removes an import for DHT users.
    3. This makes options much easier to discover.
    4. This makes it possible to make the config/options internals private.
    
    We originally put them in a sub-package to avoid poluting the root namespace,
    but that isn't really necessary.
    
    This keeps the old package (for now) to avoid breaking too much.
    30fa0861
dht_test.go 43.4 KB