common

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApiAuth added in v0.2.6

type ApiAuth struct {
	AuthType  string `protobuf:"bytes,1,opt,name=authType,proto3" json:"authType,omitempty"`
	AuthIn    string `protobuf:"bytes,2,opt,name=authIn,proto3" json:"authIn,omitempty"`
	AuthName  string `protobuf:"bytes,3,opt,name=authName,proto3" json:"authName,omitempty"`
	AuthValue string `protobuf:"bytes,4,opt,name=authValue,proto3" json:"authValue,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiAuth) Descriptor deprecated added in v0.2.6

func (*ApiAuth) Descriptor() ([]byte, []int)

Deprecated: Use ApiAuth.ProtoReflect.Descriptor instead.

func (*ApiAuth) GetAuthIn added in v0.2.6

func (x *ApiAuth) GetAuthIn() string

func (*ApiAuth) GetAuthName added in v0.2.6

func (x *ApiAuth) GetAuthName() string

func (*ApiAuth) GetAuthType added in v0.2.6

func (x *ApiAuth) GetAuthType() string

func (*ApiAuth) GetAuthValue added in v0.2.6

func (x *ApiAuth) GetAuthValue() string

func (*ApiAuth) ProtoMessage added in v0.2.6

func (*ApiAuth) ProtoMessage()

func (*ApiAuth) ProtoReflect added in v0.2.6

func (x *ApiAuth) ProtoReflect() protoreflect.Message

func (*ApiAuth) Reset added in v0.2.6

func (x *ApiAuth) Reset()

func (*ApiAuth) String added in v0.2.6

func (x *ApiAuth) String() string

type ApiAuthWebRequest added in v0.2.6

type ApiAuthWebRequest struct {
	AuthType           string `protobuf:"bytes,1,opt,name=authType,proto3" json:"authType,omitempty"`
	ApiKeyHeaderPrefix string `protobuf:"bytes,2,opt,name=apiKeyHeaderPrefix,proto3" json:"apiKeyHeaderPrefix,omitempty"`
	ApiKeyHeader       string `protobuf:"bytes,3,opt,name=apiKeyHeader,proto3" json:"apiKeyHeader,omitempty"`
	ApiKeyQueryParam   string `protobuf:"bytes,4,opt,name=apiKeyQueryParam,proto3" json:"apiKeyQueryParam,omitempty"`
	ApiKeyValue        string `protobuf:"bytes,5,opt,name=apiKeyValue,proto3" json:"apiKeyValue,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiAuthWebRequest) Descriptor deprecated added in v0.2.6

func (*ApiAuthWebRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApiAuthWebRequest.ProtoReflect.Descriptor instead.

func (*ApiAuthWebRequest) GetApiKeyHeader added in v0.2.6

func (x *ApiAuthWebRequest) GetApiKeyHeader() string

func (*ApiAuthWebRequest) GetApiKeyHeaderPrefix added in v0.2.6

func (x *ApiAuthWebRequest) GetApiKeyHeaderPrefix() string

func (*ApiAuthWebRequest) GetApiKeyQueryParam added in v0.2.6

func (x *ApiAuthWebRequest) GetApiKeyQueryParam() string

func (*ApiAuthWebRequest) GetApiKeyValue added in v0.2.6

func (x *ApiAuthWebRequest) GetApiKeyValue() string

func (*ApiAuthWebRequest) GetAuthType added in v0.2.6

func (x *ApiAuthWebRequest) GetAuthType() string

func (*ApiAuthWebRequest) ProtoMessage added in v0.2.6

func (*ApiAuthWebRequest) ProtoMessage()

func (*ApiAuthWebRequest) ProtoReflect added in v0.2.6

func (x *ApiAuthWebRequest) ProtoReflect() protoreflect.Message

func (*ApiAuthWebRequest) Reset added in v0.2.6

func (x *ApiAuthWebRequest) Reset()

func (*ApiAuthWebRequest) String added in v0.2.6

func (x *ApiAuthWebRequest) String() string

type AppBrief

type AppBrief struct {
	OrgId      string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	UserId     string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	AppId      string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
	AppType    string `protobuf:"bytes,4,opt,name=appType,proto3" json:"appType,omitempty"`       // 应用类型 agent,rag,workflow
	AvatarPath string `protobuf:"bytes,5,opt,name=avatarPath,proto3" json:"avatarPath,omitempty"` // 图标minio object path
	Name       string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Desc       string `protobuf:"bytes,7,opt,name=desc,proto3" json:"desc,omitempty"`
	CreatedAt  int64  `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // 创建时间,毫秒时间戳
	UpdatedAt  int64  `protobuf:"varint,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // 更新时间,毫秒时间戳
	// contains filtered or unexported fields
}

func (*AppBrief) Descriptor deprecated

func (*AppBrief) Descriptor() ([]byte, []int)

Deprecated: Use AppBrief.ProtoReflect.Descriptor instead.

func (*AppBrief) GetAppId

func (x *AppBrief) GetAppId() string

func (*AppBrief) GetAppType

func (x *AppBrief) GetAppType() string

func (*AppBrief) GetAvatarPath

func (x *AppBrief) GetAvatarPath() string

func (*AppBrief) GetCreatedAt

func (x *AppBrief) GetCreatedAt() int64

func (*AppBrief) GetDesc

func (x *AppBrief) GetDesc() string

func (*AppBrief) GetName

func (x *AppBrief) GetName() string

func (*AppBrief) GetOrgId

func (x *AppBrief) GetOrgId() string

func (*AppBrief) GetUpdatedAt

func (x *AppBrief) GetUpdatedAt() int64

func (*AppBrief) GetUserId

func (x *AppBrief) GetUserId() string

func (*AppBrief) ProtoMessage

func (*AppBrief) ProtoMessage()

func (*AppBrief) ProtoReflect

func (x *AppBrief) ProtoReflect() protoreflect.Message

func (*AppBrief) Reset

func (x *AppBrief) Reset()

func (*AppBrief) String

func (x *AppBrief) String() string

type AppBriefConfig

type AppBriefConfig struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Desc       string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	AvatarPath string `protobuf:"bytes,3,opt,name=avatarPath,proto3" json:"avatarPath,omitempty"`
	// contains filtered or unexported fields
}

func (*AppBriefConfig) Descriptor deprecated

func (*AppBriefConfig) Descriptor() ([]byte, []int)

Deprecated: Use AppBriefConfig.ProtoReflect.Descriptor instead.

func (*AppBriefConfig) GetAvatarPath

func (x *AppBriefConfig) GetAvatarPath() string

func (*AppBriefConfig) GetDesc

func (x *AppBriefConfig) GetDesc() string

func (*AppBriefConfig) GetName

func (x *AppBriefConfig) GetName() string

func (*AppBriefConfig) ProtoMessage

func (*AppBriefConfig) ProtoMessage()

func (*AppBriefConfig) ProtoReflect

func (x *AppBriefConfig) ProtoReflect() protoreflect.Message

func (*AppBriefConfig) Reset

func (x *AppBriefConfig) Reset()

func (*AppBriefConfig) String

func (x *AppBriefConfig) String() string

type AppModelConfig

type AppModelConfig struct {
	Provider  string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Model     string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	ModelId   string `protobuf:"bytes,3,opt,name=modelId,proto3" json:"modelId,omitempty"`
	ModelType string `protobuf:"bytes,4,opt,name=modelType,proto3" json:"modelType,omitempty"`
	Config    string `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*AppModelConfig) Descriptor deprecated

func (*AppModelConfig) Descriptor() ([]byte, []int)

Deprecated: Use AppModelConfig.ProtoReflect.Descriptor instead.

func (*AppModelConfig) GetConfig

func (x *AppModelConfig) GetConfig() string

func (*AppModelConfig) GetModel

func (x *AppModelConfig) GetModel() string

func (*AppModelConfig) GetModelId

func (x *AppModelConfig) GetModelId() string

func (*AppModelConfig) GetModelType

func (x *AppModelConfig) GetModelType() string

func (*AppModelConfig) GetProvider

func (x *AppModelConfig) GetProvider() string

func (*AppModelConfig) ProtoMessage

func (*AppModelConfig) ProtoMessage()

func (*AppModelConfig) ProtoReflect

func (x *AppModelConfig) ProtoReflect() protoreflect.Message

func (*AppModelConfig) Reset

func (x *AppModelConfig) Reset()

func (*AppModelConfig) String

func (x *AppModelConfig) String() string

type StatisticChart added in v0.2.5

type StatisticChart struct {
	TableName  string                `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	ChartLines []*StatisticChartLine `protobuf:"bytes,2,rep,name=chartLines,proto3" json:"chartLines,omitempty"`
	// contains filtered or unexported fields
}

func (*StatisticChart) Descriptor deprecated added in v0.2.5

func (*StatisticChart) Descriptor() ([]byte, []int)

Deprecated: Use StatisticChart.ProtoReflect.Descriptor instead.

func (*StatisticChart) GetChartLines added in v0.2.5

func (x *StatisticChart) GetChartLines() []*StatisticChartLine

func (*StatisticChart) GetTableName added in v0.2.5

func (x *StatisticChart) GetTableName() string

func (*StatisticChart) ProtoMessage added in v0.2.5

func (*StatisticChart) ProtoMessage()

func (*StatisticChart) ProtoReflect added in v0.2.5

func (x *StatisticChart) ProtoReflect() protoreflect.Message

func (*StatisticChart) Reset added in v0.2.5

func (x *StatisticChart) Reset()

func (*StatisticChart) String added in v0.2.5

func (x *StatisticChart) String() string

type StatisticChartLine added in v0.2.5

type StatisticChartLine struct {
	LineName string                    `protobuf:"bytes,1,opt,name=lineName,proto3" json:"lineName,omitempty"`
	Items    []*StatisticChartLineItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StatisticChartLine) Descriptor deprecated added in v0.2.5

func (*StatisticChartLine) Descriptor() ([]byte, []int)

Deprecated: Use StatisticChartLine.ProtoReflect.Descriptor instead.

func (*StatisticChartLine) GetItems added in v0.2.5

func (x *StatisticChartLine) GetItems() []*StatisticChartLineItem

func (*StatisticChartLine) GetLineName added in v0.2.5

func (x *StatisticChartLine) GetLineName() string

func (*StatisticChartLine) ProtoMessage added in v0.2.5

func (*StatisticChartLine) ProtoMessage()

func (*StatisticChartLine) ProtoReflect added in v0.2.5

func (x *StatisticChartLine) ProtoReflect() protoreflect.Message

func (*StatisticChartLine) Reset added in v0.2.5

func (x *StatisticChartLine) Reset()

func (*StatisticChartLine) String added in v0.2.5

func (x *StatisticChartLine) String() string

type StatisticChartLineItem added in v0.2.5

type StatisticChartLineItem struct {
	Key   string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*StatisticChartLineItem) Descriptor deprecated added in v0.2.5

func (*StatisticChartLineItem) Descriptor() ([]byte, []int)

Deprecated: Use StatisticChartLineItem.ProtoReflect.Descriptor instead.

func (*StatisticChartLineItem) GetKey added in v0.2.5

func (x *StatisticChartLineItem) GetKey() string

func (*StatisticChartLineItem) GetValue added in v0.2.5

func (x *StatisticChartLineItem) GetValue() float32

func (*StatisticChartLineItem) ProtoMessage added in v0.2.5

func (*StatisticChartLineItem) ProtoMessage()

func (*StatisticChartLineItem) ProtoReflect added in v0.2.5

func (x *StatisticChartLineItem) ProtoReflect() protoreflect.Message

func (*StatisticChartLineItem) Reset added in v0.2.5

func (x *StatisticChartLineItem) Reset()

func (*StatisticChartLineItem) String added in v0.2.5

func (x *StatisticChartLineItem) String() string

type ToolAction added in v0.2.5

type ToolAction struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	InputSchema *ToolActionInputSchema `protobuf:"bytes,3,opt,name=inputSchema,proto3" json:"inputSchema,omitempty"`
	// contains filtered or unexported fields
}

func (*ToolAction) Descriptor deprecated added in v0.2.5

func (*ToolAction) Descriptor() ([]byte, []int)

Deprecated: Use ToolAction.ProtoReflect.Descriptor instead.

func (*ToolAction) GetDescription added in v0.2.5

func (x *ToolAction) GetDescription() string

func (*ToolAction) GetInputSchema added in v0.2.5

func (x *ToolAction) GetInputSchema() *ToolActionInputSchema

func (*ToolAction) GetName added in v0.2.5

func (x *ToolAction) GetName() string

func (*ToolAction) ProtoMessage added in v0.2.5

func (*ToolAction) ProtoMessage()

func (*ToolAction) ProtoReflect added in v0.2.5

func (x *ToolAction) ProtoReflect() protoreflect.Message

func (*ToolAction) Reset added in v0.2.5

func (x *ToolAction) Reset()

func (*ToolAction) String added in v0.2.5

func (x *ToolAction) String() string

type ToolActionInputSchema added in v0.2.5

type ToolActionInputSchema struct {
	Type       string                                 `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // 固定 object
	Properties map[string]*ToolActionInputSchemaValue ``                                                              /* 161-byte string literal not displayed */
	Required   []string                               `protobuf:"bytes,3,rep,name=required,proto3" json:"required,omitempty"`
	// contains filtered or unexported fields
}

func (*ToolActionInputSchema) Descriptor deprecated added in v0.2.5

func (*ToolActionInputSchema) Descriptor() ([]byte, []int)

Deprecated: Use ToolActionInputSchema.ProtoReflect.Descriptor instead.

func (*ToolActionInputSchema) GetProperties added in v0.2.5

func (*ToolActionInputSchema) GetRequired added in v0.2.5

func (x *ToolActionInputSchema) GetRequired() []string

func (*ToolActionInputSchema) GetType added in v0.2.5

func (x *ToolActionInputSchema) GetType() string

func (*ToolActionInputSchema) ProtoMessage added in v0.2.5

func (*ToolActionInputSchema) ProtoMessage()

func (*ToolActionInputSchema) ProtoReflect added in v0.2.5

func (x *ToolActionInputSchema) ProtoReflect() protoreflect.Message

func (*ToolActionInputSchema) Reset added in v0.2.5

func (x *ToolActionInputSchema) Reset()

func (*ToolActionInputSchema) String added in v0.2.5

func (x *ToolActionInputSchema) String() string

type ToolActionInputSchemaValue added in v0.2.5

type ToolActionInputSchemaValue struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ToolActionInputSchemaValue) Descriptor deprecated added in v0.2.5

func (*ToolActionInputSchemaValue) Descriptor() ([]byte, []int)

Deprecated: Use ToolActionInputSchemaValue.ProtoReflect.Descriptor instead.

func (*ToolActionInputSchemaValue) GetDescription added in v0.2.5

func (x *ToolActionInputSchemaValue) GetDescription() string

func (*ToolActionInputSchemaValue) GetType added in v0.2.5

func (x *ToolActionInputSchemaValue) GetType() string

func (*ToolActionInputSchemaValue) ProtoMessage added in v0.2.5

func (*ToolActionInputSchemaValue) ProtoMessage()

func (*ToolActionInputSchemaValue) ProtoReflect added in v0.2.5

func (*ToolActionInputSchemaValue) Reset added in v0.2.5

func (x *ToolActionInputSchemaValue) Reset()

func (*ToolActionInputSchemaValue) String added in v0.2.5

func (x *ToolActionInputSchemaValue) String() string

Jump to

Keyboard shortcuts

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