tcp

package
v0.0.0-...-d272d5c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: MIT, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TcpServer

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

func NewServer

func NewServer(s *service.ShopAdmin) *TcpServer

func (*TcpServer) Endpoint

func (s *TcpServer) Endpoint() (*url.URL, error)

func (*TcpServer) Start

func (s *TcpServer) Start(ctx context.Context) error

func (*TcpServer) Stop

func (s *TcpServer) Stop(ctx context.Context) error

type Transpore

type Transpore struct{}

func (Transpore) Endpoint

func (Transpore) Endpoint() string

func (Transpore) Kind

func (Transpore) Kind() transport.Kind

func (Transpore) Operation

func (Transpore) Operation() string

func (Transpore) ReplyHeader

func (Transpore) ReplyHeader() transport.Header

func (Transpore) RequestHeader

func (Transpore) RequestHeader() transport.Header

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳