data

package
v0.0.0-...-d3948d2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

Data

Business data access, including cache, db and other encapsulation, the implementation of the biz repo interface.

app

app obs data

infra

infra i.e. infrastructurea

security

Security-related

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers. var ProviderSet = wire.NewSet(NewData, NewPromAPI, NewSystemSecurityRepo)

Functions

func NewChatRepo

func NewChatRepo(data *Data, logger l.Logger) biz.ChatRepo

func NewCpuStateRepo

func NewCpuStateRepo(data *Data, logger l.Logger) biz.CpuStateRepo

func NewHostActivityRepo

func NewHostActivityRepo(data *Data, logger l.Logger) biz.HostActivityRepo

func NewHostStateRepo

func NewHostStateRepo(data *Data, logger l.Logger) biz.HostStateRepo

func NewNetworkErrorRepo

func NewNetworkErrorRepo(data *Data, logger l.Logger) biz.NetworkErrorRepo

func NewRagRepo

func NewRagRepo(data *Data, logger l.Logger) biz.RagRepo

func NewSystemSecurityRepo

func NewSystemSecurityRepo(data *Data, logger l.Logger) biz.SystemSecurityRepo

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data .

func NewData

func NewData(data *cfg.Data, chat *cfg.Chat, rag *cfg.Rag, logger l.Logger) (*Data, func(), error)

NewData . func NewData(pAPI promAPIV1.API, logger l.Logger) (*Data, func(), error) {

type PromptListOption

type PromptListOption func(o *pOtion)

KeywordListOption KeywordList options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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