package
0.0.5
Repository: https://github.com/bleethnie/go-driver.git
Documentation: pkg.go.dev

# Functions

DefaultConfig default config.
NewClient returns an IEC104 master,default config and default asdu.ParamsWide params.
NewOption with default config and default asdu.ParamsWide params.
NewServer new a server, default config and default asdu.ParamsWide params.
NewServerSpecial new special server.

# Constants

control filed(4).
control field(4) + ASDU.
start(1) + length(1) + control field(4) + ASDU.
defines an IEC 60870-5-104 configuration range.
"t₀" 范围[1, 255]s 默认 30s.
DefaultReconnectInterval defined default value.
defines an IEC 60870-5-104 configuration range.
"t₃" 范围[1 second, 48 hours] 默认 20 s, See IEC 60870-5-104, subclass 5.2.
Port is the IANA registered port number for unsecure connection.
PortSecure is the IANA registered port number for secure connection.
defines an IEC 60870-5-104 configuration range.
"w" 范围 [1, 32767] 默认 8.
defines an IEC 60870-5-104 configuration range.
"t₂" 范围[1, 255]s 默认 10s, See IEC 60870-5-104, figure 10.
defines an IEC 60870-5-104 configuration range.
"k" 范围[1, 32767] 默认 12.
defines an IEC 60870-5-104 configuration range.
"t₁" 范围[1, 255]s 默认 15s.

# Variables

error defined.
error defined.
error defined.

# Structs

APCI apci 应用规约控制信息.
Client is an IEC104 master.
ClientOption 客户端配置.
Config defines an IEC 60870-5-104 configuration.
Server the common server.
SrvSession the cs104 server session.

# Interfaces

ClientHandlerInterface is the interface of client handler.
ServerHandlerInterface is the interface of server handler.
ServerSpecial server special interface.