pkg

module
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: Apache-2.0

README

go-pkg

CI PkgGoDev GoReportCard codecov

General Purpose Golang Building Blocks

Usage

go get -u arhat.dev/pkg

LICENSE

Copyright 2020 The arhat.dev Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Directories

Path Synopsis
Package nethelper wraps various kind of network support with universal api to dial and listen you need to import according packages to enabled certain network supprot to support tcp/tcp4/tcp6/unix (with or without tls) udp/udp4/udp6 (without tls) unixpacket/unixgram (with or without tls) import _ "arhat.dev/pkg/nethelper/stdnet" to support udp/udp4/udp6 (with tls) import _ "arhat.dev/pkg/nethelper/piondtls" to support pipe (with or without tls) import _ "arhat.dev/pkg/nethelper/pipenet"
Package nethelper wraps various kind of network support with universal api to dial and listen you need to import according packages to enabled certain network supprot to support tcp/tcp4/tcp6/unix (with or without tls) udp/udp4/udp6 (without tls) unixpacket/unixgram (with or without tls) import _ "arhat.dev/pkg/nethelper/stdnet" to support udp/udp4/udp6 (with tls) import _ "arhat.dev/pkg/nethelper/piondtls" to support pipe (with or without tls) import _ "arhat.dev/pkg/nethelper/pipenet"
piondtls
Package piondtls register udp/udp4/udp6 with dtls support
Package piondtls register udp/udp4/udp6 with dtls support
pipenet
Package pipenet register pipe with tls support
Package pipenet register pipe with tls support
stdnet
Package stdnet register tcp/tcp4/tcp6/udp/udp4/udp6/unix network implementation from standard `net` library
Package stdnet register tcp/tcp4/tcp6/udp/udp4/udp6/unix network implementation from standard `net` library
rshelper module

Jump to

Keyboard shortcuts

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