Files
Reims-Go/internal/plugin/sidecarproc_aliases.go
T
千川白浪 9006e6d9a7
CI / verify (push) Canceled after 0s
CI / rolling-release (push) Canceled after 0s
refactor: 抽离 HostAPIService 并将 internal/plugin 拆分为四层无环子包 (#202)
2026-12-05 06:05:41 -07:00

18 lines
535 B
Go

package plugin
import "github.com/Nwflower/reims-go/internal/plugin/sidecarproc"
// Re-export JSON-RPC 2.0 transport types and error codes from sidecarproc so
// callers outside internal/plugin keep their existing import paths.
const (
maxRPCFrameBytes = sidecarproc.MaxRPCFrameBytes
RPCMethodNotFound = sidecarproc.RPCMethodNotFound
RPCInvalidParams = sidecarproc.RPCInvalidParams
)
type (
RPCError = sidecarproc.RPCError
RPCRequestHandler = sidecarproc.RPCRequestHandler
RPCConn = sidecarproc.RPCConn
)