server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TServer

type TServer struct {
	Server *thrift.TSimpleServer
	// contains filtered or unexported fields
}

func NewTServer

func NewTServer(addr string) *TServer

func NewTServer6

func NewTServer6(tf thrift.TTransportFactory, pf thrift.TProtocolFactory, p thrift.TProcessor, addr string, clientTimeout time.Duration, tlsConfig *tls.Config) *TServer

func (*TServer) RegisterProcessor

func (s *TServer) RegisterProcessor(name string, processor thrift.TProcessor) error

func (*TServer) Serve

func (s *TServer) Serve() error

func (*TServer) Stop

func (s *TServer) Stop() error

Jump to

Keyboard shortcuts

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