quic

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Proto = "sfkit"

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(mpcConf *mpc.Config, pc packetConnGetter) (s *Service, err error)

func (*Service) GetConn added in v0.0.2

func (s *Service) GetConn(ctx context.Context, peerPID mpc.PID) (_ <-chan *conn.Conn, err error)

GetConn establishes a QUIC connection stream with a peer, and returns a *conn.Conn channel, which allows the client to subscribe to changes in the connection.

func (*Service) Stop

func (s *Service) Stop() error

Jump to

Keyboard shortcuts

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