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

    handler := BaseServiceHandler{}
    dispatcher.Register(baseserviceserver.New(handler))
    

    Types

    type Interface

    type Interface interface {
    	Healthy(
    		ctx context.Context,
    	) (bool, error)
    }

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

      Source Files