server

package
v0.0.0-...-88920c5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Example

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

Example is a gRPC-server.

func NewExample

func NewExample(l hclog.Logger) *Example

NewExample creates a new Example server.

func (*Example) Ping

func (c *Example) Ping(ctx context.Context, _ *emptypb.Empty) (
	*protos.PingResponse, error)

GetStatus implements the ExampleServer GetStatus method.

Jump to

Keyboard shortcuts

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