hello

package
v0.0.0-...-c6a5d93 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Greet

func Greet(_ context.Context, name string) (string, error)

Types

type Controller

type Controller struct {
	Greeter func(context.Context, string) (string, error)
}

func NewGreetingController

func NewGreetingController(greeter Greeter) *Controller

func (*Controller) Greet

type Greeter

type Greeter func(context.Context, string) (string, error)

type GreetingRequest

type GreetingRequest struct {
	Name string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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