helloworld

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 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 HelloServer

type HelloServer struct {
}

func (*HelloServer) CreateMessage

func (h *HelloServer) CreateMessage(ctx context.Context, rq *pb.MessageRequest) (*pb.HelloReply, error)

func (*HelloServer) GetMessage

func (h *HelloServer) GetMessage(ctx context.Context, rq *pb.NullMessageRequest) (*pb.HelloReply, error)

type RestHelloServer

type RestHelloServer struct {
}

func (*RestHelloServer) CreateMessage

func (r *RestHelloServer) CreateMessage(ctx *restful.Context)

func (*RestHelloServer) GetMessage

func (r *RestHelloServer) GetMessage(ctx *restful.Context)

func (*RestHelloServer) URLPatterns

func (r *RestHelloServer) URLPatterns() []restful.Route

Directories

Path Synopsis
Package helloworld is a generated protocol buffer package.
Package helloworld is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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