vitess.io/vitess@v0.16.2/go/vt/vttablet/vexec/executor.go (about)

     1  package vexec
     2  
     3  import (
     4  	"context"
     5  
     6  	querypb "vitess.io/vitess/go/vt/proto/query"
     7  )
     8  
     9  // Executor should be implemented by any tablet-side structs which accept VExec commands
    10  type Executor interface {
    11  	VExec(ctx context.Context, vx *TabletVExec) (qr *querypb.QueryResult, err error)
    12  }