Documentation
¶
Index ¶
- type CDRBackend
- func (b *CDRBackend) AddBackend(back *backend.Backend)
- func (b CDRBackend) AppID() string
- func (b CDRBackend) CountTable() backend.CountTable
- func (b CDRBackend) CrashTable() backend.CrashTable
- func (b CDRBackend) Extension(mux *http.ServeMux)
- func (b CDRBackend) GetDie(w http.ResponseWriter, r *http.Request)
- func (s CDRBackend) ShouldAddCrash(ctx context.Context, cr backend.IndividualCrash) bool
- func (b CDRBackend) UploadDie(w http.ResponseWriter, r *http.Request)
- type UploadedDie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDRBackend ¶
type CDRBackend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func NewBackend(db *mongo.Database) *CDRBackend
func (*CDRBackend) AddBackend ¶
func (b *CDRBackend) AddBackend(back *backend.Backend)
func (CDRBackend) AppID ¶
func (b CDRBackend) AppID() string
func (CDRBackend) CountTable ¶
func (b CDRBackend) CountTable() backend.CountTable
func (CDRBackend) CrashTable ¶
func (b CDRBackend) CrashTable() backend.CrashTable
func (CDRBackend) Extension ¶
func (b CDRBackend) Extension(mux *http.ServeMux)
func (CDRBackend) GetDie ¶
func (b CDRBackend) GetDie(w http.ResponseWriter, r *http.Request)
func (CDRBackend) ShouldAddCrash ¶
func (s CDRBackend) ShouldAddCrash(ctx context.Context, cr backend.IndividualCrash) bool
func (CDRBackend) UploadDie ¶
func (b CDRBackend) UploadDie(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.