package
Version:
v0.1.9
Opens a new window with list of versions in this module.
Published: Oct 29, 2026
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Handle is the shipped C ABI method switch (JSON in / JSON envelope out).
SetCaller installs the C ABI host callback.
func SetEndpoints(e endpointOverride)
SetEndpoints overrides Huawei base URLs (tests).
SetHTTPClient replaces the fallback net/http client (tests).
Caller is the CPA host RPC (host.http.do, host.auth.save, host.stream.emit, ...).
type Config struct {
CallbackHost string
CallbackPort int
CallbackPath string
BenefitAutoClaim bool
}
Config is plugin-owned configuration under plugins.configs.codearts.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.