• hannahhoward's avatar
    refactor(sessions): extract sessions to package · 40aa1fb8
    hannahhoward authored
    - moved sessions out of main bitswap package
    - modified session manager to manage all sessions
    - moved get functions to their own package so sessions can directly
    
    BREAKING CHANGE: SessionsForBlock, while not used outside of Bitswap, has been removed, and was an
    exported function
    40aa1fb8
session.go 9.43 KB