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

handler := ReadOnlyStoreHandler{}
dispatcher.Register(readonlystoreserver.New(handler))

Types

type Interface

type Interface interface {
	baseserviceserver.Interface

	Integer(
		ctx context.Context,
		Key *string,
	) (int64, error)
}

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

Source Files