graphql

package
v1.5.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService() *Service

func (*Service) Close

func (s *Service) Close() error

func (*Service) Exec

func (s *Service) Exec(ctx context.Context, key string, q string, op string, vars map[string]any, logger util.Logger) (g *graphql.Response, e error)

func (*Service) ExecCount

func (s *Service) ExecCount(key string) int

func (*Service) Keys

func (s *Service) Keys() []string

func (*Service) RegisterStringSchema

func (s *Service) RegisterStringSchema(key string, title string, content string, target any) error

func (*Service) Schema

func (s *Service) Schema(key string) *graphql.Schema

func (*Service) Titles

func (s *Service) Titles() map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL