Documentation
¶
Index ¶
- type NewOptions
- type Service
- func (s *Service) AddModel(ctx clir.Context, modelName, modelType, token, address string) error
- func (s *Service) ConnectAndMigrate(ctx context.Context) error
- func (s *Service) PrintConversations(ctx clir.Context) error
- func (s *Service) PrintModels(ctx clir.Context) error
- func (s *Service) PrintSpeakers(ctx clir.Context) error
- func (s *Service) RecomputeTopics(ctx clir.Context) error
- func (s *Service) Serve(ctx context.Context, db *sql.Database, public embed.FS, err io.Writer)
- func (s *Service) Start(ctx context.Context, r io.Reader, w io.Writer, opts StartOptions) error
- type StartOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewOptions ¶
type NewOptions struct {
Path string
}
type Service ¶
func New ¶
func New(opts NewOptions) *Service
type StartOptions ¶
Click to show internal directories.
Click to hide internal directories.