Documentation ¶ Index ¶ type Service func New(cfg config.AppConfig) (*Service, error) func (s *Service) Config() config.AppConfig func (s *Service) DB() *sql.DB func (s *Service) MigrateDB(fs fs.FS) error func (s *Service) RPC() *grpc.Server func (s *Service) Startup() error func (s *Service) WaitForRPC(ctx context.Context) error func (s *Service) Waiter() waiter.Waiter Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(cfg config.AppConfig) (*Service, error) func (*Service) Config ¶ func (s *Service) Config() config.AppConfig func (*Service) DB ¶ func (s *Service) DB() *sql.DB func (*Service) MigrateDB ¶ func (s *Service) MigrateDB(fs fs.FS) error func (*Service) RPC ¶ func (s *Service) RPC() *grpc.Server func (*Service) Startup ¶ func (s *Service) Startup() error func (*Service) WaitForRPC ¶ func (s *Service) WaitForRPC(ctx context.Context) error func (*Service) Waiter ¶ func (s *Service) Waiter() waiter.Waiter Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.