mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
refactor: extract the state module and make the backoff error instead of panic
This PR: - moves state.go to its own module - moves the phpheaders test the phpheaders module - simplifies backoff.go - makes the backoff error instead of panic (so it can be tested) - removes some unused C structs
This commit is contained in:
committed by
GitHub
parent
16e2bbb969
commit
98573ed7c0
@@ -1,5 +1,6 @@
|
||||
package phpheaders
|
||||
|
||||
import "C"
|
||||
import (
|
||||
"context"
|
||||
"strings"
|
||||
|
||||
Reference in New Issue
Block a user