gql

package
v0.0.0-...-932a008 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package gql implements the Server interface that runs and listens for requests. It accepts configuration on where to run and how to store and retrieve entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port     int
	Endpoint string
}

type Server

type Server struct{}

func New

func New(auth auth.App, endpoint string) Server

New takes an endpoint returns a new server

func (Server) Serve

func (s Server) Serve(port int) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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