grpc

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProviderSet = wire.NewSet(
		NewExample,
	)
)

本文件负责grpc下面各种ProviderSet的注册

Functions

This section is empty.

Types

type Example

type Example struct {
	// contains filtered or unexported fields
}

func (*Example) SayHello added in v0.4.6

func (s *Example) SayHello(ctx context.Context) error

type ExampleInterface

type ExampleInterface interface {
	SayHello(ctx context.Context) error
}

ExampleInterface ...

func NewExample

func NewExample() ExampleInterface

Jump to

Keyboard shortcuts

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