Documentation
¶
Index ¶
- func IsErrCanceled(err error) bool
- func IsErrDeadlineExceeded(err error) bool
- func IsErrUnavailable(err error) bool
- func NewEvent(source_ gopi.Unit, type_ gopi.RPCEventType) gopi.RPCEvent
- func ParseIP(addr string) (gopi.RPCServiceRecord, error)
- func SelectAddr(service gopi.RPCServiceRecord, flag gopi.RPCFlag) []net.IP
- type ClientConn
- type ClientPool
- type GRPCClientConn
- type GRPCServer
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrCanceled ¶
func IsErrDeadlineExceeded ¶
func IsErrUnavailable ¶
func ParseIP ¶ added in v2.0.2
func ParseIP(addr string) (gopi.RPCServiceRecord, error)
ParseIP turns
func SelectAddr ¶ added in v2.0.2
Convert RPCServiceRecord into a set of addresses
Types ¶
type ClientConn ¶ added in v2.0.2
type ClientConn struct { Fifo string Addr net.IP Port uint16 Flags gopi.RPCFlag SSL bool SkipVerify bool Timeout time.Duration }
func (ClientConn) Name ¶ added in v2.0.2
func (ClientConn) Name() string
type ClientPool ¶ added in v2.0.2
func (ClientPool) Name ¶ added in v2.0.2
func (ClientPool) Name() string
type GRPCClientConn ¶ added in v2.0.2
type GRPCClientConn interface { gopi.RPCClientConn // Return the gRPC Server object GRPCClient() grpc.ClientConnInterface }
GRPCClientConn interface is an RPCClientConn which also returns gRPC-specific properties
Click to show internal directories.
Click to hide internal directories.