Documentation
¶
Index ¶
- func NewKnowledgeUsecase(options ...options) ports.IKnowledgeUsecase
- func WithConfig(conf *configs.Config) options
- func WithEthApiMap(ethApiMap map[uint64]*ethapi.Client) options
- func WithLighthousekey(lighthousekey string) options
- func WithNetworks(networks map[string]map[string]string) options
- func WithNotiBot(teleKey, notiActChanId, notiErrorChanId string) options
- func WithRagApi(ragApi string) options
- func WithRepos(knowledgeBaseRepo repository.KnowledgeBaseRepo, ...) options
- func WithSecretKey(secretKey string) options
- func WithTrxApi(trxApi *trxapi.Client) options
- func WithWebhookUrl(webhookUrl string) options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKnowledgeUsecase ¶
func NewKnowledgeUsecase(options ...options) ports.IKnowledgeUsecase
func WithConfig ¶
func WithEthApiMap ¶
func WithLighthousekey ¶
func WithLighthousekey(lighthousekey string) options
func WithNetworks ¶
func WithNotiBot ¶
func WithNotiBot(teleKey, notiActChanId, notiErrorChanId string) options
func WithRagApi ¶
func WithRagApi(ragApi string) options
func WithRepos ¶
func WithRepos( knowledgeBaseRepo repository.KnowledgeBaseRepo, knowledgeBaseFileRepo repository.KnowledgeBaseFileRepo, agentInfoKnowledgeBaseRepo repository.IAgentInfoKnowledgeBaseRepo, agentInfoRepo repository.IAgentInfoRepo, ) options
func WithSecretKey ¶
func WithSecretKey(secretKey string) options
func WithTrxApi ¶
func WithWebhookUrl ¶
func WithWebhookUrl(webhookUrl string) options
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.