service

package
v0.0.0-...-d9362a1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Echo

type Echo struct{}

Echo is the service for echo.

func (*Echo) Say

func (s *Echo) Say(ctx context.Context, r *protobuf.SayReq) (*protobuf.SayRes, error)

Say implements the protobuf.EchoServer interface.

type Time

type Time struct{}

Time is the service for time.

func (*Time) Now

func (s *Time) Now(ctx context.Context, r *protobuf.NowReq) (*protobuf.NowRes, error)

Now implements the protobuf.TimeServer interface.

Jump to

Keyboard shortcuts

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