Versions in this module Expand all Collapse all v1 v1.1.0 Dec 2, 2023 v1.0.0 Dec 2, 2023 Changes in this version + func New(opts ...ServerOption) (server.IServer, error) + type Server struct + func (s *Server) Run() error + type ServerOption func(s *Server) + func WithServerHealthServer(healthServer grpc_health_v1.HealthServer) ServerOption + func WithServerOptionID(id string) ServerOption + func WithServerOptionName(name string) ServerOption + func WithServerOptionPost(post int) ServerOption + func WithServerOptionServiceRegisterCenter(serviceRegisterCenter registry.IRegistrar) ServerOption + func WithServerOptionServiceRegisterHost(host string) ServerOption + func WithServerOptionServiceRegisterInfo(serviceRegisterInfo *registry.ServiceRegisterInfo) ServerOption + func WithServerOptionSignal(signals []os.Signal) ServerOption + func WithServerOptionTimeout(timeout time.Duration) ServerOption + func WithServerRegisterServer(registerServer func(server *grpc.Server)) ServerOption + func WithServerServerOptions(serverOptions []grpc.ServerOption) ServerOption + func WithServerStreamServerInterceptors(streamServerInterceptors []grpc.StreamServerInterceptor) ServerOption + func WithServerUnaryServerInterceptors(unaryServerInterceptors []grpc.UnaryServerInterceptor) ServerOption