Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeText = internaldx.TypeText TypeBinary = internaldx.TypeBinary TypeJSON = internaldx.TypeJSON TypeFile = internaldx.TypeFile MaxFrameSize = internaldx.MaxFrameSize )
Frame types and limits.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the L11 plugin adapter. Daemon (L7) holds it only as coreapi.Service; cmd/daemon/main.go (L12) constructs it.
func NewService ¶
func NewService(cfg ServiceConfig) *Service
type ServiceConfig ¶
type ServiceConfig struct {
ReceivedDir string
InboxDir string
// IncludeBase64 adds a lossless `data_b64` field to inbox JSON
// alongside `data`. Off by default — only enable when binary
// payloads (e.g. zlib-compressed envelopes) need to round-trip
// without UTF-8 mangling.
IncludeBase64 bool
}
ServiceConfig configures the daemon-side dataexchange handler. Both paths default to ~/.pilot/{received,inbox} when empty.
Click to show internal directories.
Click to hide internal directories.