File: listen_1.10.go

package info (click to toggle)
golang-github-varlink-go 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, experimental, forky, sid, trixie
  • size: 272 kB
  • sloc: makefile: 13
file content (12 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
// +build !go1.11

package varlink

import (
	"context"
	"net"
)

func listen(ctx context.Context, network, address string) (net.Listener, error) {
	return net.Listen(network, address)
}