repository

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(c *configs.Config) (r *Repository)

func (*Repository) Close

func (r *Repository) Close()

func (*Repository) SegmentsCreate

func (r *Repository) SegmentsCreate(s *entity.Segments) (data *entity.Segments, err error)

func (*Repository) SegmentsGetAll

func (r *Repository) SegmentsGetAll() (res []entity.Segments, err error)

只取6个小时有变化的Tag

func (*Repository) SegmentsIdNext

func (r *Repository) SegmentsIdNext(tag string) (id *entity.Segments, err error)

Jump to

Keyboard shortcuts

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