Documentation
¶
Index ¶
Constants ¶
View Source
const PackageName = "client.egrpc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
*grpc.ClientConn
// contains filtered or unexported fields
}
type Config ¶
type Config struct {
Name string // config's name
BalancerName string
Address string
Block bool
DialTimeout time.Duration
ReadTimeout time.Duration
Direct bool
OnDialError string // panic | error
KeepAlive *keepalive.ClientParameters
SlowLogThreshold time.Duration
Debug bool
DisableTraceInterceptor bool
DisableAidInterceptor bool
DisableTimeoutInterceptor bool
DisableMetricInterceptor bool
DisableAccessInterceptor bool
AccessInterceptorLevel string
// contains filtered or unexported fields
}
Config ...
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func DefaultContainer ¶
func DefaultContainer() *Container
Click to show internal directories.
Click to hide internal directories.