Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncTesterSessionFromContext ¶
func SyncTesterSessionFromContext(ctx context.Context) (*eth.SyncTesterSession, bool)
SyncTesterSessionFromContext retrieves the Session from the context, if present.
func WithSession ¶
func WithSyncTesterSession ¶
WithSyncTesterSession returns a new context with the given Session.
Types ¶
type SessionManager ¶
func NewSessionManager ¶
func NewSessionManager(logger log.Logger) *SessionManager
func (*SessionManager) DeleteSession ¶
func (s *SessionManager) DeleteSession(sessionID string) error
func (*SessionManager) SessionIDs ¶
func (s *SessionManager) SessionIDs() []string
 Click to show internal directories. 
   Click to hide internal directories.