server

package
v0.0.0-...-cda3813 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New makes a set of endpoints available as a Thrift service.

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

A Option sets options to config.

func WithAfter

func WithAfter(
	after ...iconcertothrift.ServerResponseFunc,
) Option

func WithBefore

func WithBefore(
	before ...iconcertothrift.ServerRequestFunc,
) Option

func WithErrorHandler

func WithErrorHandler(errorHandler ikittransport.ErrorHandler) Option

func WithFinalizer

func WithFinalizer(fn ...iconcertothrift.ServerFinalizerFunc) Option

func WithRegistry

func WithRegistry(registry *icalculatorthrift.Registry) Option

Jump to

Keyboard shortcuts

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