Directories
¶
| Path | Synopsis |
|---|---|
|
Package php holds the PHP bindings for encx: a C-shared library built from mobile/encxmobile and the PHP classes that call it through FFI.
|
Package php holds the PHP bindings for encx: a C-shared library built from mobile/encxmobile and the PHP classes that call it through FFI. |
|
cmd/encxphpgen
command
Command encxphpgen generates the PHP bindings for encx from the Go source of mobile/encxmobile.
|
Command encxphpgen generates the PHP bindings for encx from the Go source of mobile/encxmobile. |
|
cshared
command
Command cshared is the c-shared library the PHP bindings load through FFI.
|
Command cshared is the c-shared library the PHP bindings load through FFI. |
|
internal/gen
Package gen emits the C side of the PHP bindings from a surface.Model: the cgo wrapper file compiled into the c-shared library, the FFI-parsable C header, and a JSON manifest describing what was bound and what was not.
|
Package gen emits the C side of the PHP bindings from a surface.Model: the cgo wrapper file compiled into the c-shared library, the FFI-parsable C header, and a JSON manifest describing what was bound and what was not. |
|
internal/genphp
Package genphp emits the PHP side of the encx bindings: the Client class wrapping the opaque Go handle, and the Helpers class holding the package-level functions that need no client.
|
Package genphp emits the PHP side of the encx bindings: the Client class wrapping the opaque Go handle, and the Helpers class holding the package-level functions that need no client. |
|
internal/rt
Package rt provides the hand-written runtime shared by the generated PHP cgo bindings: a handle registry for live *encxmobile.EncClient values and a JSON response envelope.
|
Package rt provides the hand-written runtime shared by the generated PHP cgo bindings: a handle registry for live *encxmobile.EncClient values and a JSON response envelope. |
|
internal/surface
Package surface models the exported surface of the encxmobile Go package as it can be projected onto a C ABI.
|
Package surface models the exported surface of the encxmobile Go package as it can be projected onto a C ABI. |
Click to show internal directories.
Click to hide internal directories.