Documentation ¶
Overview ¶
Package rpc provides the necessary struct and functions required to use rpc service.
The full document is located at https://github.com/rpccloud/rpc/blob/master/doc/rpc/index.md
Index ¶
- func GetClientTLSConfig(verifyServerCert bool, caFiles []string) (*tls.Config, error)
- func GetServerTLSConfig(certFile string, keyFile string) (*tls.Config, error)
- type ActionCache
- type ActionCacheFunc
- type Any
- type Array
- type Bool
- type Bytes
- type Client
- type Float64
- type IStreamReceiver
- type Int64
- type Map
- type RTArray
- type RTMap
- type RTValue
- type Return
- type Runtime
- type Server
- type ServerConfig
- type Service
- type Stream
- type String
- type Uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientTLSConfig ¶ added in v0.0.3
GetClientTLSConfig ...
Types ¶
type IStreamReceiver ¶ added in v0.0.2
type IStreamReceiver = rpc.IStreamReceiver
IStreamReceiver ...
type ServerConfig ¶ added in v0.0.2
type ServerConfig = server.ServerConfig
ServerConfig ...
func GetDefaultServerConfig ¶ added in v0.0.2
func GetDefaultServerConfig() *ServerConfig
GetDefaultServerConfig ...
Click to show internal directories.
Click to hide internal directories.