endpoints

package
v0.0.0-...-890f6be Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCountEndpoint

func MakeCountEndpoint(svc biz.IStringBiz) endpoint.Endpoint

func MakeUppercaseEndpoint

func MakeUppercaseEndpoint(svc biz.IStringBiz) endpoint.Endpoint

Types

type CountRequest

type CountRequest struct {
	S string `json:"s"`
}

CountRequest count request struct.

type CountResponse

type CountResponse struct {
	V int `json:"v"`
}

type UppercaseRequest

type UppercaseRequest struct {
	S string `json:"s"`
}

UppercaseRequest uppercase request struct.

type UppercaseResponse

type UppercaseResponse struct {
	V   string `json:"v"`
	Err string `json:"err,omitempty"`
}

Jump to

Keyboard shortcuts

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