Documentation
¶
Index ¶
- Variables
- type App
- func (s *App) Broker() broker.Broker
- func (s *App) Client() *client.Client
- func (s *App) Config() *config.Config
- func (s *App) Init(opt ...Option)
- func (s *App) Logger(l ...logger.Logger) logger.Logger
- func (s *App) Registry() naming.Registry
- func (s *App) Resolver() naming.Resolver
- func (s *App) Restart()
- func (s *App) RpcServer() *grpc.Server
- func (s *App) Run(desc *grpc.ServiceDesc, impl any)
- func (s *App) Service() naming.Service
- func (s *App) Stop()
- func (s *App) Store(name string, st ...store.Store) store.Store
- func (s *App) Tracer() tracer.Tracer
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var Name = "stargo"
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
Option Option
func WithStreamnIterceptor ¶ added in v0.1.1
func WithStreamnIterceptor(opt grpc.StreamServerInterceptor) Option
StreamInterceptor Stream server interceptor
func WithTimezome ¶ added in v0.1.1
func WithUnaryInterceptor ¶ added in v0.1.1
func WithUnaryInterceptor(opt grpc.UnaryServerInterceptor) Option
UnaryInterceptor Unary server interceptor
Click to show internal directories.
Click to hide internal directories.