Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultServiceName = "microservice" DefaultVersion = "0.0.0" DefaultAddress = "localhost:0" DefaultLogger = zap.New() )
Functions ¶
This section is empty.
Types ¶
type DefaultService ¶
type DefaultService struct {
// contains filtered or unexported fields
}
func (*DefaultService) Client ¶
func (s *DefaultService) Client(name string) (*grpc.ClientConn, error)
func (*DefaultService) Logger ¶
func (s *DefaultService) Logger() logger.Logger
func (*DefaultService) Run ¶
func (s *DefaultService) Run() error
func (*DefaultService) Server ¶
func (s *DefaultService) Server() *grpc.Server
func (*DefaultService) Use ¶
func (s *DefaultService) Use() error
type Next ¶
func RoundRobin ¶
Click to show internal directories.
Click to hide internal directories.