base

package
v0.0.0-...-b556d9d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name string
const (
	SimpleGroup Name = "simple_group"

	SimpleMutexImplCAS      Name = "simple_mutex_impl_cas"
	SimpleMutexImplSema     Name = "simple_mutex_impl_sema"
	SimpleMutexImplSemaCAS  Name = "simple_mutex_impl_sema_cas"
	SimpleMutexImplSemaCAS2 Name = "simple_mutex_impl_sema_cas2"
	SimpleMutexImplV0       Name = "simple_mutex_impl_v0"
	SimpleMutexImplV1       Name = "simple_mutex_impl_v1"

	SimpleChannelImpl Name = "simple_channel_impl"

	SimpleGMPImpl Name = "simple_gmp_impl"
)

type Question

type Question interface {
	Name() Name          // 唯一标识
	Description() string // 问题描述
	Run(ctx context.Context) (string, error)
}

Question 问题

Jump to

Keyboard shortcuts

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