Documentation
¶
Overview ¶
Command loomy builds the CPA c-shared plugin library for Loomy (讯飞办公助手).
Both files in this directory are package main: main.go carries the exported cgo ABI and plugin.go carries the abiboot.Plugin implementation. Keeping the plugin implementation in the same package is what lets `go build -buildmode=c-shared ./plugins/loomy` (see scripts/build.sh) emit the shared object directly from this directory. The dynamic library file name must start with the plugin id (`loomy.so` or `loomy-v<version>.so`); any other spelling makes the host derive the wrong id, and the resource routes are mounted under `/v0/resource/plugins/<id>/`.
Click to show internal directories.
Click to hide internal directories.