names

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirstNameRequest

type FirstNameRequest struct {
	Name string
}

type FirstNameResponse

type FirstNameResponse struct {
	FirstName string
}

type LastNameRequest

type LastNameRequest struct {
	Name string
}

type LastNameResponse

type LastNameResponse struct {
	LastName string
}

type NameRequest

type NameRequest struct {
	Name string
}

type NameService

type NameService interface {
	Split(ctx context.Context, req *SplitRequest) (*SplitResponse, error)
	FirstName(ctx context.Context, req *FirstNameRequest) (*FirstNameResponse, error)
	LastName(ctx context.Context, req *LastNameRequest) (*LastNameResponse, error)
	SortName(ctx context.Context, req *SortNameRequest) (*SortNameResponse, error)
}

type NameServiceHandler

type NameServiceHandler struct {
}

func (NameServiceHandler) FirstName

func (NameServiceHandler) LastName

func (NameServiceHandler) SortName

func (NameServiceHandler) Split

type SortNameRequest

type SortNameRequest struct {
	Name string
}

type SortNameResponse

type SortNameResponse struct {
	SortName string
}

type SplitRequest

type SplitRequest NameRequest

type SplitResponse

type SplitResponse struct {
	FirstNameResponse
	LastNameResponse
}

Directories

Path Synopsis
Code generated by Frodo from example/names/name_service.go - DO NOT EDIT https://github.com/monadicstack/frodo Code generated by Frodo from example/names/name_service.go - DO NOT EDIT https://github.com/monadicstack/frodo
Code generated by Frodo from example/names/name_service.go - DO NOT EDIT https://github.com/monadicstack/frodo Code generated by Frodo from example/names/name_service.go - DO NOT EDIT https://github.com/monadicstack/frodo

Jump to

Keyboard shortcuts

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