Documentation ¶ Index ¶ Constants type Service func NewService(mpcConf *mpc.Config, pc packetConnGetter) (s *Service, err error) func (s *Service) GetConn(ctx context.Context, peerPID mpc.PID) (_ <-chan *conn.Conn, err error) func (s *Service) Stop() error 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 Source Files ¶ View all Source files cert.go quic.go Click to show internal directories. Click to hide internal directories.