logindex

package
v0.0.0-...-c91c74a Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package logindex log index

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelLogIndex

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

ModelLogIndex provides handling log index operations to database

func New

func New(db drivers.DB) *ModelLogIndex

New return a new ModelLogIndex instance

func (*ModelLogIndex) CreateOldIndexSetID

func (m *ModelLogIndex) CreateOldIndexSetID(ctx context.Context, logIndex *entity.LogIndex) error

CreateOldIndexSetID create index set id

func (*ModelLogIndex) GetOldIndexSetID

func (m *ModelLogIndex) GetOldIndexSetID(ctx context.Context, projectID string) (*entity.LogIndex, error)

GetOldIndexSetID get index set id

Jump to

Keyboard shortcuts

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