service

package
v0.0.0-...-b2ac953 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleEchoRequest

type ExampleEchoRequest struct {
	Msg string
}

ExampleEchoRequest ...

type ExampleEchoResponse

type ExampleEchoResponse struct {
	Msg string `json:"msg"`
}

ExampleEchoResponse ...

type ExampleService

type ExampleService struct {
}

ExampleService ...

func (ExampleService) Echo

func (s ExampleService) Echo(ctx context.Context, req ExampleEchoRequest) (interface{}, error)

Echo ...

func (ExampleService) RPC

func (s ExampleService) RPC(ctx context.Context, req ExampleEchoRequest) (interface{}, error)

RPC ...

func (ExampleService) Trace

func (s ExampleService) Trace(ctx context.Context, req ExampleEchoRequest) (interface{}, error)

Trace ...

type Service

type Service struct {
	Example ExampleService
}

Service ...

func New

func New() Service

New ...

Jump to

Keyboard shortcuts

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