mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Make models used for configuration public
This commit is contained in:
parent
3cf7b73672
commit
6255456f61
9 changed files with 8 additions and 8 deletions
|
|
@ -12,6 +12,8 @@ import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/filter"
|
||||||
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/models"
|
||||||
"log/slog"
|
"log/slog"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
@ -22,8 +24,6 @@ import (
|
||||||
"github.com/ProtonMail/gopenpgp/v2/crypto"
|
"github.com/ProtonMail/gopenpgp/v2/crypto"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/csaf"
|
"github.com/csaf-poc/csaf_distribution/v3/csaf"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/certs"
|
"github.com/csaf-poc/csaf_distribution/v3/internal/certs"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/filter"
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/models"
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/options"
|
"github.com/csaf-poc/csaf_distribution/v3/internal/options"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/util"
|
"github.com/csaf-poc/csaf_distribution/v3/util"
|
||||||
"golang.org/x/time/rate"
|
"golang.org/x/time/rate"
|
||||||
|
|
|
||||||
|
|
@ -11,11 +11,11 @@ package main
|
||||||
import (
|
import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/filter"
|
||||||
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/models"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/certs"
|
"github.com/csaf-poc/csaf_distribution/v3/internal/certs"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/filter"
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/models"
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/options"
|
"github.com/csaf-poc/csaf_distribution/v3/internal/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,13 @@ import (
|
||||||
_ "embed" // Used for embedding.
|
_ "embed" // Used for embedding.
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/models"
|
||||||
"html/template"
|
"html/template"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/csaf"
|
"github.com/csaf-poc/csaf_distribution/v3/csaf"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/models"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// MessageType is the kind of the message.
|
// MessageType is the kind of the message.
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/filter"
|
||||||
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/models"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"log/slog"
|
"log/slog"
|
||||||
|
|
@ -19,8 +21,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/certs"
|
"github.com/csaf-poc/csaf_distribution/v3/internal/certs"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/filter"
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/models"
|
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/options"
|
"github.com/csaf-poc/csaf_distribution/v3/internal/options"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/lib/downloader"
|
"github.com/csaf-poc/csaf_distribution/v3/lib/downloader"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/csaf-poc/csaf_distribution/v3/internal/models"
|
"github.com/csaf-poc/csaf_distribution/v3/csaf/models"
|
||||||
"hash"
|
"hash"
|
||||||
"io"
|
"io"
|
||||||
"log/slog"
|
"log/slog"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue