serve

package
v0.0.0-...-cb3637a Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server ...

func NewHelloServer

func NewHelloServer(jwtKey string) (*Server, error)

NewHelloServer ...

func (*Server) ComputeAverage

func (s *Server) ComputeAverage(stream hellopb.HelloService_ComputeAverageServer) error

ComputeAverage ...

func (*Server) FindMax

func (s *Server) FindMax(stream hellopb.HelloService_FindMaxServer) error

FindMax ...

func (*Server) Greet

func (s *Server) Greet(ctx context.Context, req *hellopb.ReqGreet) (*hellopb.RespGreet, error)

Greet ...

func (*Server) PrimeDecompose

PrimeDecompose ...

Jump to

Keyboard shortcuts

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