infrastructure

package
v0.0.0-...-4bbda85 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisClient

func NewRedisClient(url string) (*redis.Client, error)

NewRedisClient returns a client for redis.

Types

type GraphQLServer

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

GraphQLServer ..

func NewGraphQLServer

func NewGraphQLServer(redisClient *redis.Client) *GraphQLServer

NewGraphQLServer returns GraphQL server.

func (*GraphQLServer) Serve

func (s *GraphQLServer) Serve(route string, port int) error

Serve starts GraphQL server.

Jump to

Keyboard shortcuts

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