Documentation
¶
Index ¶
- Variables
- type Config
- type JQRequest
- type Request
- type Service
- func (s *Service) AttachRuntimeSource(ctx context.Context, source sources.RuntimeSource) error
- func (s *Service) Close() error
- func (s *Service) Commit(ctx context.Context) error
- func (s *Service) ContextWithTx(ctx context.Context) (context.Context, error)
- func (s *Service) Init(ctx context.Context) (err error)
- func (s *Service) LoadDataSource(ctx context.Context, name string) error
- func (s *Service) ProcessQuery(ctx context.Context, catalog string, req Request) types.Response
- func (s *Service) Query(ctx context.Context, query string, vars map[string]any) (*types.Response, error)
- func (s *Service) QueryCatalog(ctx context.Context, catalog, query string, vars map[string]any) (*types.Response, error)
- func (s *Service) RegisterDataSource(ctx context.Context, ds types.DataSource) error
- func (s *Service) Rollback(ctx context.Context) error
- func (s *Service) Schema() *ast.Schema
- func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (s *Service) UnloadDataSource(ctx context.Context, name string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrParallelMutationNotSupported = errors.New("parallel mutation queries are not supported")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AttachRuntimeSource ¶
func (*Service) ContextWithTx ¶
func (*Service) LoadDataSource ¶ added in v0.1.8
func (*Service) ProcessQuery ¶
func (*Service) QueryCatalog ¶
func (*Service) RegisterDataSource ¶ added in v0.1.8
Source Files
¶
Click to show internal directories.
Click to hide internal directories.