gateway

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

func NewGatewayService

func NewGatewayService(c *conf.GatewayConfig, reg registry.Registrar) utils.TCPHandler

Types

type GatewayService

type GatewayService struct {
	// contains filtered or unexported fields
}

func (*GatewayService) ServeTcp

func (g *GatewayService) ServeTcp(ctx context.Context, conn net.Conn) error

type Servers

type Servers struct {
	// contains filtered or unexported fields
}

func (*Servers) Get

func (s *Servers) Get() []string

func (*Servers) Set

func (s *Servers) Set(servers []string)

Jump to

Keyboard shortcuts

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