rest

package
v0.0.0-...-fc3dce1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Application

func Application() error

Application Rest func

Types

type FormBodyHello

type FormBodyHello struct {
	Name  string `json:"name" validate:"required"`
	Greet string `json:"greet" validate:"required"`
}

type Graphql

type Graphql struct {
}

func (*Graphql) Register

func (g *Graphql) Register(ctx context.Context, router chi.Router)

type Hello

type Hello struct {
	*usecase.Service
}

func (*Hello) Hello

func (h *Hello) Hello(w http.ResponseWriter, r *http.Request) error

func (*Hello) Register

func (h *Hello) Register(ctx context.Context, router chi.Router)

Jump to

Keyboard shortcuts

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