dendrite.nvim/core/handlers/handler.go

12 lines
212 B
Go

package handlers
import (
"context"
"encoding/json"
"github.com/KristianJBorgwarth/dendrite.daemon/core/rpc"
)
type Handler interface {
Handle(ctx context.Context, raw json.RawMessage) (any, *rpc.Error)
}