package
1.5.1
Repository: https://github.com/angwangiot/hprose-golang.git
Documentation: pkg.go.dev

# Functions

Marshal data.
NewBaseClient is the constructor of BaseClient.
NewBaseContext is the constructor of BaseContext.
NewBaseService is the constructor for BaseService.
NewBytesReader is the constructor of BytesReader.
NewClient is the constructor of Client.
NewHttpClient is the constructor of HttpClient.
NewHttpService is the constructor of HttpService.
NewJSONRPCClientFilter is a constructor for JSONRPCClientFilter.
NewMethod is the constructor for Method.
NewMethods is the constructor for Methods.
NewRawReader is a constructor for RawReader.
NewReader is the constructor for Hprose Reader.
NewStreamConnEntry is the constructor for StreamConnEntry.
NewStreamConnPool is the constructor for StreamConnPool.
NewTcpClient is the constructor of TcpClient.
NewTcpServer is a constructor for TcpServer.
NewTcpService is the constructor of TcpService.
NewUnixClient is the constructor of UnixClient.
NewUnixServer is a constructor for UnixServer.
NewUnixService is the constructor of UnixService.
NewWebSocketClient is the constructor of WebSocketClient.
NewWebSocketService is the constructor of WebSocketService.
NewWriter is the constructor for Hprose Writer.
RegisterClientFactory register client factory.
Serialize data.
ToUUID decodes s into a UUID or returns nil.
Unmarshal data.
Unserialize data.

# Constants

Normal is default mode.
Raw means the result is the raw bytes data.
RawWithEndTag means the result is the raw bytes data with the end tag.
Serialized means the result is serialized.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Protocol Tags */.
No description provided by the author
No description provided by the author
Serialize Tags */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Serialize Marks */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ClassManager used to be register class with alias for hprose serialize/unserialize.
DisableGlobalCookie is a flag to disable global cookie.
ErrNil is a error of nil.

# Structs

BaseClient is the hprose base client.
BaseContext is the hprose base context.
BaseService is the hprose base service.
BytesReader is a bytes reader.
ClientContext is the hprose client context.
HttpClient is hprose http client.
HttpContext is the hprose http context.
HttpService is the hprose http service.
InvokeOptions is the invoke options of hprose client.
JSONRPCClientFilter is a JSONRPC Client Filter.
JSONRPCServiceFilter is a JSONRPC Service Filter.
Method is the publish service method.
Methods is the publish service methods.
RawReader is the hprose raw reader.
Reader is a fine-grained operation struct for Hprose unserialization when JSONCompatible is true, the Map data will unserialize to map[string]interface as the default type.
StreamClient is base struct for TcpClient and UnixClient.
StreamContext is the hprose stream context for service.
StreamService is the base service for TcpService and UnixService.
TcpClient is hprose tcp client.
TcpServer is a hprose tcp server.
TcpService is the hprose tcp service.
UnixClient is hprose unix client.
UnixServer is a hprose unix server.
WebSocketClient is hprose websocket client.
WebSocketContext is the hprose websocket context.
WebSocketService is the hprose websocket service.
Writer is a fine-grained operation struct for Hprose serialization.

# Interfaces

ArgsFixer ...
BufReader is buffer reader interface, Hprose Reader use it as input stream.
BufWriter is buffer writer interface, Hprose Writer use it as output stream.
Client is hprose client.
ConnEntry is the connection entry in connection pool.
ConnPool is the connection pool.
Context is the hprose context.
Filter is hprose filter.
HttpServiceEvent is the hprose http service event.
ServiceEvent is the service event.
Transporter is the hprose client transporter.

# Type aliases

MissingMethod is missing method.
ResultMode is result mode.
TcpContext is the hprose tcp context.
UnixContext is the hprose unix context.
UnixService is the hprose unix service.
UUID type is only a UUID wrapper for hprose serialize/unserialize, If you want to generate UUIDs, you should use other UUID package.