Files
Memoh/internal/channel/adapters/local/descriptor.go
T
BBQ 29e6ddd1f9 refactor: replace global channel registry with instance-based Registry and interface-driven adapters
- Replace global channelRegistry singleton with explicit *Registry passed via dependency injection
- Split monolithic manager.go into connection.go (lifecycle), inbound.go (dispatch), outbound.go (pipeline)
- Introduce optional adapter interfaces: ConfigNormalizer, TargetResolver, BindingMatcher
- Move Descriptor() to Adapter interface, remove init()-based registration
- Relocate SessionHub to adapters/local package
- Extract shared UUID/time helpers to internal/db/uuid.go
- Decompose ConfigStore into fine-grained interfaces: ConfigLister, ConfigResolver, BindingStore, SessionStore
2026-02-06 23:47:12 +08:00

12 lines
361 B
Go

// Package local implements the CLI and Web channel adapters for local development.
package local
import "github.com/memohai/memoh/internal/channel"
const (
// CLIType is the registered ChannelType for the CLI adapter.
CLIType channel.ChannelType = "cli"
// WebType is the registered ChannelType for the Web adapter.
WebType channel.ChannelType = "web"
)