controller

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

func RegisterGraphQL

func RegisterGraphQL(c GraphQL)

func RegisterMeta

func RegisterMeta(c Meta)

Types

type GraphQL

type GraphQL struct {
	fx.In

	ResolverDeps     graph.ResolverDeps
	Middleware       middleware.Middleware
	DirectiveService service.Directive
	Ent              *ent.Client
	Route            fiber.Router `name:"root"`
}

type Meta

type Meta struct {
	fx.In

	Route fiber.Router `name:"internal"`
}

Jump to

Keyboard shortcuts

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