log

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func (*Handler) GetTrace

func (h *Handler) GetTrace(c *app.Context, req TraceRequest) (*models.UsageLogTrace, error)

func (*Handler) List

type ListRequest

type ListRequest struct {
	api.PaginationQuery
	UserID    string `form:"user_id"`
	TokenID   string `form:"token_id"`
	ChannelID string `form:"channel_id"`
	ModelName string `form:"model_name"`
	Status    string `form:"status"`
}

type TraceRequest

type TraceRequest struct {
	RequestID string `uri:"request_id" binding:"required"`
}

Jump to

Keyboard shortcuts

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