mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
29e6ddd1f9
- 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
12 lines
361 B
Go
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"
|
|
)
|