Switch remote deploy to vendored source builds
Move remote deployment to a vendored source bundle built on the target host via Docker so redeploys no longer require local cross-compilation or host Go installation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
25
vendor/github.com/jchv/go-winloader/internal/loader/loader.go
generated
vendored
Normal file
25
vendor/github.com/jchv/go-winloader/internal/loader/loader.go
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
package loader
|
||||
|
||||
// Module represents a loaded Windows module.
|
||||
type Module interface {
|
||||
// Proc returns a procedure by symbol name. Returns nil if the symbol is
|
||||
// not found.
|
||||
Proc(name string) Proc
|
||||
|
||||
// Ordinal returns a procedure by ordinal.
|
||||
Ordinal(ordinal uint64) Proc
|
||||
|
||||
// Free closes the module and frees the memory. After this, GetProcAddress
|
||||
// will stop working and procedures will no longer function.
|
||||
Free() error
|
||||
}
|
||||
|
||||
// Loader represents a named module loader implementation.
|
||||
type Loader interface {
|
||||
Load(libname string) (Module, error)
|
||||
}
|
||||
|
||||
// MemLoader represents a memory module loader implementation.
|
||||
type MemLoader interface {
|
||||
LoadMem(module []byte) (Module, error)
|
||||
}
|
||||
Reference in New Issue
Block a user