service

package
v0.0.0-...-8438e09 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Greeter

type Greeter struct {
	service.Talkie
}

Greeter is the service implementation.

func (*Greeter) BeforeExit

func (s *Greeter) BeforeExit() error

BeforeExit overrides service.Talkie.BeforeExit. This is not a mandatory method, as service.Talkie provides an empty implementation of this.

func (*Greeter) BeforeStart

func (s *Greeter) BeforeStart() error

BeforeStart overrides service.Talkie.BeforeStart. This is not a mandatory method, as service.Talkie provides an empty implementation of this.

func (*Greeter) SayHello

func (s *Greeter) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)

SayHello implements the gRPC method of same name.

Jump to

Keyboard shortcuts

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