service

package
v1.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelloService

type HelloService struct {
	Log     *logrus.Logger `bean:"log"`
	Persons []Person       `value:"echo.persons"`
	AppName string         `value:"server.name"`
}

func (*HelloService) Bean

func (r *HelloService) Bean() string

func (*HelloService) Echo

func (r *HelloService) Echo() interface{}

type Person added in v1.0.7

type Person struct {
	Name string `json:"name" yaml:"name"`
	Age  int    `json:"age" yaml:"age"`
}

Jump to

Keyboard shortcuts

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