Documentation
¶
Index ¶
- func BoolToString(b bool) string
- func CurrentMMDDYYYY() string
- func FormatMMDDYYYYToHyphenYYYYMMDD(dateStr string) (string, error)
- func FormatMMDDYYYYToUnixMillis(dateStr string) (int64, error)
- func FormatUnixMillisToMMDDYYYY(ms int64) string
- func FormatUnixToMMDDYYYY(ts int64) string
- func FormatUnixToYYYYMMDD(ts int64) string
- func GetRef(scope dto.Scope, params ...string) string
- func RegisterAllToolsetsWithTracker(ctx context.Context, group *toolsets.ToolsetGroup)
- func SafeFloatToInt32(value float64, valueIfOverflow int32) int32
- func SafeIntToInt32(value int, valueIfOverflow int32) int32
- func ToBoolPtr(b bool) *bool
- type LicenseInfo
- type LicenseStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToString ¶
func CurrentMMDDYYYY ¶
func CurrentMMDDYYYY() string
func FormatUnixToMMDDYYYY ¶
func FormatUnixToYYYYMMDD ¶
func RegisterAllToolsetsWithTracker ¶
func RegisterAllToolsetsWithTracker(ctx context.Context, group *toolsets.ToolsetGroup)
RegisterAllToolsetsWithTracker registers all toolsets in the group with the main tracker This ensures that findToolGroup() can find which toolset a tool belongs to
func SafeFloatToInt32 ¶
func SafeIntToInt32 ¶
Types ¶
type LicenseInfo ¶
type LicenseInfo struct {
AccountID string
ModuleLicenses map[string]bool // Map of module ID to license status
IsValid bool
}
func InitLicenseValidation ¶
func InitLicenseValidation(ctx context.Context, config *config.McpServerConfig) (*LicenseInfo, error)
initLicenseValidation creates a license client and validates licenses
Click to show internal directories.
Click to hide internal directories.