mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-22 07:06:51 +00:00
style: align const formatting in sra_transport.go
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ec49e5a28f
commit
d5e05d84d7
@@ -29,11 +29,11 @@ type SraTransport struct {
|
||||
//
|
||||
// Response: status(1) + pad(3) + request_id(4) = 8 bytes
|
||||
const (
|
||||
sraOpcodeReplicate uint8 = 0x03
|
||||
sraReplicateHeaderSize = 16 // opcode(1)+pad(3)+request_id(4)+volume_id(4)+target_host_len(4)
|
||||
sraReplicateResponseSize = 8
|
||||
sraStatusOk uint8 = 0x00
|
||||
sraStatusError uint8 = 0xFF
|
||||
sraOpcodeReplicate uint8 = 0x03
|
||||
sraReplicateHeaderSize = 16 // opcode(1)+pad(3)+request_id(4)+volume_id(4)+target_host_len(4)
|
||||
sraReplicateResponseSize = 8
|
||||
sraStatusOk uint8 = 0x00
|
||||
sraStatusError uint8 = 0xFF
|
||||
)
|
||||
|
||||
var nextRequestId uint32
|
||||
|
||||
Reference in New Issue
Block a user