loop

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 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 Handlers

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

Handlers 封装 loop catalog HTTP handlers。

func New

func New(api *handlershared.API, loops *loopsvc.Service) *Handlers

New 创建 loop catalog handlers。

func (*Handlers) HandleGetLoopDetail

func (h *Handlers) HandleGetLoopDetail(writer http.ResponseWriter, request *http.Request)

HandleGetLoopDetail 返回单个 loop 详情。

func (*Handlers) HandleListLoops

func (h *Handlers) HandleListLoops(writer http.ResponseWriter, request *http.Request)

HandleListLoops 返回内置 loops 列表。

Jump to

Keyboard shortcuts

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