Make every struct have a header header and not inherit the header
This commit is contained in:
@@ -2,7 +2,7 @@ package pdu
|
||||
|
||||
type (
|
||||
BIND struct {
|
||||
PDU_HEADER
|
||||
header PDU_HEADER
|
||||
system_id string
|
||||
password string
|
||||
system_type string
|
||||
@@ -12,7 +12,7 @@ type (
|
||||
address_range string
|
||||
}
|
||||
BIND_RESP struct {
|
||||
PDU_HEADER
|
||||
header PDU_HEADER
|
||||
system_id string
|
||||
sc_interface_version uint8
|
||||
}
|
||||
@@ -34,11 +34,11 @@ type (
|
||||
BIND_TRANSCIEVER_RESP struct {
|
||||
BIND_RESP
|
||||
}
|
||||
|
||||
|
||||
UNBIND struct {
|
||||
PDU_HEADER
|
||||
}
|
||||
UNBIND_RESP struct {
|
||||
PDU_HEADER
|
||||
}
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user