Versions in this module Expand all Collapse all v1 v1.0.1 Feb 17, 2022 v1.0.0 Feb 16, 2022 Changes in this version + type Client interface + Call func(object interface{}, method string, args interface{}) (reply interface{}, err error) + Close func() error + func NewClient(addr string, codecType int64) Client + type Codec interface + ReadBody func(interface{}) error + ReadHead func(interface{}) error + WriteBody func(interface{}) error + WriteHead func(interface{}) error + type CodecFactory interface + GetCodec func(closer io.ReadWriteCloser) Codec + func NewCodecFactory(codecType int64) CodecFactory + type Head struct + Error string + Seq string + ServiceMethod string + type Option struct + CodeType int64 + type Server interface + Register func(srv interface{}) + Run func() error + func NewServer(addr string) Server