Files
SugarDB/server/utils/types.go
T
Kelvin Clement Mwinuka c101b18969 Created ApplyRequest and ApplyResponse types to handle calls and responses to raft.Apply.
In-Memory state between nodes is now synchronized.
2023-08-12 05:40:35 +08:00

11 lines
135 B
Go

package utils
type ApplyRequest struct {
CMD []string `json:"CMD"`
}
type ApplyResponse struct {
Error error
Response []byte
}