18 lines
535 B
Go
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
|
|
)
|