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 Foo service for registration.

    handler := FooHandler{}
    dispatcher.Register(fooserver.New(handler))
    

    Types

    type Interface

    type Interface interface {
    	nameserver.Interface
    }

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

      Source Files