Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(impl Interface, opts ...thrift.RegisterOption) []transport.Procedure

New prepares an implementation of the ExtendEmpty service for registration.

handler := ExtendEmptyHandler{}
dispatcher.Register(extendemptyserver.New(handler))

Types

type Interface

type Interface interface {
	emptyserviceserver.Interface

	Hello(
		ctx context.Context,
	) error
}

Interface is the server-side interface for the ExtendEmpty service.

Source Files