yell

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFoo = errors.New("error foo")

ErrFoo ...

View Source
var RespBye = &testproto.HelloReply{Message: "bye"}

RespBye ...

View Source
var RespFantasy = &testproto.HelloReply{Message: "fantasy"}

RespFantasy ...

View Source
var StatusFoo = status.Errorf(codes.DataLoss, ErrFoo.Error())

StatusFoo ...

Functions

This section is empty.

Types

type FooServer

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

FooServer ...

func (*FooServer) SayHello

func (s *FooServer) SayHello(ctx context.Context, in *testproto.HelloRequest) (out *testproto.HelloReply, err error)

SayHello ...

func (*FooServer) SetHook

func (s *FooServer) SetHook(f func(context.Context))

SetHook ...

func (*FooServer) SetName

func (s *FooServer) SetName(f string)

SetName ...

func (*FooServer) StreamHello

func (s *FooServer) StreamHello(ss testproto.Greeter_StreamHelloServer) (err error)

StreamHello ...

func (*FooServer) WhoServer

func (s *FooServer) WhoServer(ctx context.Context, in *testproto.WhoServerReq) (out *testproto.WhoServerReply, err error)

StreamHello ...

Jump to

Keyboard shortcuts

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