service

package
v0.0.0-...-21f8c24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenAiService

type OpenAiService interface {
	QueryOpenAi(request dto.OpenAiApiRequest) dto.OpenAiApiResponse
}

func NewOpenAiService

func NewOpenAiService(cfg *config.Config) OpenAiService

type Services

type Services struct {
	CommonServices *commonService.Services

	OpenAiService OpenAiService
}

func InitServices

func InitServices(cfg *config.Config, db *config.StorageDB) *Services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL