Thanks to visit codestin.com
Credit goes to pkg.go.dev

server_rpc

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RgraphqlQueryStream

type RgraphqlQueryStream interface {
	Send(*rgraphql.RGQLServerMessage) error
	Recv() (*rgraphql.RGQLClientMessage, error)
}

type Session

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

Session is a websocket session.

func NewSession

func NewSession(
	ctx context.Context,
	le *logrus.Entry,
	scm *schema.Schema,
	strm RgraphqlQueryStream,
	rootResolver func(r *resolver.Context),
) *Session

NewSession constructs a new session.

func (*Session) Execute

func (s *Session) Execute() error

Execute is the main session routine.

Jump to

Keyboard shortcuts

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