Skip to content

feat: use FFI instead socket#848

Open
monkeyWie wants to merge 7 commits into
mainfrom
feat/ffi
Open

feat: use FFI instead socket#848
monkeyWie wants to merge 7 commits into
mainfrom
feat/ffi

fix: test

4736a91
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 9, 2025 in 0s

62.79% of diff hit (target 58.90%)

View this Pull Request on Codecov

62.79% of diff hit (target 58.90%)

Annotations

Check warning on line 16 in bind/common.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bind/common.go#L13-L16

Added lines #L13 - L16 were not covered by tests

Check warning on line 20 in bind/common.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bind/common.go#L18-L20

Added lines #L18 - L20 were not covered by tests

Check warning on line 27 in bind/common.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bind/common.go#L23-L27

Added lines #L23 - L27 were not covered by tests

Check warning on line 35 in bind/common.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bind/common.go#L30-L35

Added lines #L30 - L35 were not covered by tests

Check warning on line 40 in bind/common.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bind/common.go#L38-L40

Added lines #L38 - L40 were not covered by tests

Check warning on line 20 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L20

Added line #L20 was not covered by tests

Check warning on line 27 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L25-L27

Added lines #L25 - L27 were not covered by tests

Check warning on line 29 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L29

Added line #L29 was not covered by tests

Check warning on line 35 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L35

Added line #L35 was not covered by tests

Check warning on line 52 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L52

Added line #L52 was not covered by tests

Check warning on line 60 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L57-L60

Added lines #L57 - L60 were not covered by tests

Check warning on line 64 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 67 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L67

Added line #L67 was not covered by tests

Check warning on line 73 in cmd/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/server.go#L73

Added line #L73 was not covered by tests

Check warning on line 50 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L49-L50

Added lines #L49 - L50 were not covered by tests

Check warning on line 73 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L72-L73

Added lines #L72 - L73 were not covered by tests

Check warning on line 76 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L75-L76

Added lines #L75 - L76 were not covered by tests

Check warning on line 81 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 109 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L108-L109

Added lines #L108 - L109 were not covered by tests

Check warning on line 125 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L120-L125

Added lines #L120 - L125 were not covered by tests

Check warning on line 142 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 157 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L156-L157

Added lines #L156 - L157 were not covered by tests

Check warning on line 160 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L159-L160

Added lines #L159 - L160 were not covered by tests

Check warning on line 167 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L166-L167

Added lines #L166 - L167 were not covered by tests

Check warning on line 171 in pkg/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/api.go#L170-L171

Added lines #L170 - L171 were not covered by tests