Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Addr string HostAddr string KeyFile string CertFile string KeepAliveEnforcementPolicyMinTime int KeepAliveEnforcementPolicyPermitWithoutStream bool KeepAliveMaxConnectionIdle int KeepAliveMaxConnectionAge int KeepAliveMaxConnectionAgeGrace int KeepAliveTime int KeepAliveTimeout int ServerOpts []grpc.ServerOption }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RegisterService ¶
RegisterService 注册服务
Click to show internal directories.
Click to hide internal directories.