Documentation ¶ Index ¶ type Config func NewConfig(maxAnalyzeAPICall int64, ...) Config type Server func NewServer(host string, port string, db *db.Client, logger logging.Logger, config Config) *Server func (s *Server) Run(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { MaxAnalyzeAPICall int64 BaseURL string OpenAIToken string ChatGPTModel string // contains filtered or unexported fields } func NewConfig ¶ func NewConfig(maxAnalyzeAPICall int64, baseURL, openaiToken, chatGPTModel, defaultLocale string, excludeDeleteDataSource []string) Config type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(host string, port string, db *db.Client, logger logging.Logger, config Config) *Server func (*Server) Run ¶ func (s *Server) Run(ctx context.Context) error Source Files ¶ View all Source files server.go Directories ¶ Show internal Expand all Path Synopsis alert finding iam project report Click to show internal directories. Click to hide internal directories.