service

package
v0.0.0-...-e1bfb01 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPushServiceServer

func RegisterPushServiceServer(s *grpc.Server, srv PushServiceServer)

Types

type PushServiceClient

type PushServiceClient interface {
	PushTo(ctx context.Context, in *push.PushToInput, opts ...grpc.CallOption) (*push.Void, error)
}

PushServiceClient is the client API for PushService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPushServiceClient

func NewPushServiceClient(cc *grpc.ClientConn) PushServiceClient

type PushServiceServer

type PushServiceServer interface {
	PushTo(context.Context, *push.PushToInput) (*push.Void, error)
}

PushServiceServer is the server API for PushService service.

Jump to

Keyboard shortcuts

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