service

package
v0.0.0-...-de569a9 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StrMaxSize = 1024
)

Variables

View Source
var (
	ErrMaxSize = errors.New("maximum size of 1024 bytes exceeded")

	ErrStrValue = errors.New("maximum size of 1024 bytes exceeded")
)

Service errors

Functions

This section is empty.

Types

type Service

type Service interface {
	// 拼接字符串
	Concat(req StringReq, ret *string) error
}

服务接口

type StringReq

type StringReq struct {
	A string
	B string
}

字符串请求

type StringService

type StringService struct {
}

实现

func (StringService) Concat

func (s StringService) Concat(req StringReq, ret *string) error

拼接字符串

Jump to

Keyboard shortcuts

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