Documentation
¶
Index ¶
- type Config
- type Service
- type System
- func (s *System) Addr() string
- func (s *System) Config() Config
- func (s *System) DB() *sql.DB
- func (s *System) Listener() net.Listener
- func (s *System) Logger() *logger.Logger
- func (s *System) MigrateDB(fs fs.FS) error
- func (s *System) Mux() cmux.CMux
- func (s *System) Nats() *nats.Conn
- func (s *System) Pool() *pgxpool.Pool
- func (s *System) RPC() *grpc.Server
- func (s *System) RaftListener() net.Listener
- func (s *System) ResetDB() error
- func (s *System) WaitForMux(ctx context.Context) (err error)
- func (s *System) WaitForPool(ctx context.Context) (err error)
- func (s *System) WaitForRPC(ctx context.Context) (err error)
- func (s *System) WaitForStream(ctx context.Context) error
- func (s *System) Waiter() waiter.Waiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type System ¶
type System struct {
// contains filtered or unexported fields
}
func (*System) RaftListener ¶
Click to show internal directories.
Click to hide internal directories.