Welcome to Gugugu’s documentation!¶
Gugugu is a non-opinionated data serialization and RPC (Remote Procedure Call) framework. Non-opinionated means gugugu assumes very little on your implementation. You can serialize your data with JSON, XML… or your own serialization format, and communicate with any protocol you like.
The definition syntax is a strict subset of Haskell.
module HelloService where
import HelloTypes
-- The content after double-dash is ignored.
fold :: FoldRequest -> IO Int32
data FoldRequest
= FoldRequest
{ values :: List Int32
, operation :: Operation
}
module HelloTypes where
data Operation
= Add
| Mul