siface

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAuth

type IAuth interface {
	Auth(token string) (string, error)
}

type IConnectionMux

type IConnectionMux interface {
	IServer
	IGrpcListener
	IHttpListener
}

type IGatewayServer

type IGatewayServer interface {
	IServer
	GatewayRuntimeMux() *runtime.ServeMux
	GatewayOption() []grpc.DialOption
	GatewayServer() *http.Server
	Endpoint() string
}

type IGatewayService

type IGatewayService interface {
	RegisterWithGatewayServer(server IGatewayServer) error
}

type IGrpcListener

type IGrpcListener interface {
	GrpcListener() (net.Listener, error)
}

type IGrpcServer

type IGrpcServer interface {
	IServer
	GrpcServer() *grpc.Server
}

type IGrpcService

type IGrpcService interface {
	RegisterWithGrpcServer(server IGrpcServer) error
}

type IHttpListener

type IHttpListener interface {
	HTTPListener() (net.Listener, error)
}

type IServer

type IServer interface {
	StartServing(ctx context.Context) error
	StopServing(ctx context.Context) error
}

type ITcpListener

type ITcpListener interface {
	TCPListener() (net.Listener, error)
}

type IWebSocketListener

type IWebSocketListener interface {
	WSListener() (net.Listener, error)
}

type IZinxServer

type IZinxServer interface {
	IServer
	ZinxServer() ziface.IServer
}

type IZinxService

type IZinxService interface {
	RegisterWithServer(server IZinxServer)
}

Jump to

Keyboard shortcuts

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