idents

package
v6.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(ctx *ctx.Context) *Set

func (*Set) Init

func (s *Set) Init()

func (*Set) LoopPersist

func (s *Set) LoopPersist()

func (*Set) MSet

func (s *Set) MSet(items map[string]struct{})

func (*Set) UpdateTargets

func (s *Set) UpdateTargets(lst []string, now int64) error

type TargetUpdate

type TargetUpdate struct {
	Lst []string `json:"lst"`
	Now int64    `json:"now"`
}

Jump to

Keyboard shortcuts

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