- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SERIALIZABLE (0.19 sec)
-
internal/grid/README.md
These must provide `msgp` serialization and deserialization. In the examples we use a `MSS` type, which is a `map[string]string` that is `msgp` serializable. ```go handler := func(request *grid.MSS) (*grid.MSS, *grid.RemoteErr) { fmt.Println("Got request with field", request["myfield"]) // Do something with payload
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.4K bytes - Viewed (0) -
internal/grid/types.go
v[i] = zero } if v != nil { v = v[:0] p.aPool.Put(&v) } } func (p *ArrayOf[T]) newE() T { return p.ePool.Get().(T) } // Array provides a wrapper for an underlying array of serializable objects. type Array[T RoundTripper] struct { p *ArrayOf[T] val []T } // Msgsize returns the size of the array in bytes. func (j *Array[T]) Msgsize() int { if j.val == nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 01 23:42:09 GMT 2024 - 15.4K bytes - Viewed (0)