Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bricks-cloud/BricksLLM
/ Validate
Method
Validate
internal/message/handler.go:60–60 ·
view source on GitHub ↗
(k *key.ResponseKey, promptCost float64)
Source
from the content-addressed store, hash-verified
58
59
type
validator
interface
{
60
Validate(k *key.ResponseKey, promptCost float64) error
61
}
62
63
type
userValidator
interface
{
Callers
10
handleValidationResult
Method · 0.65
handleUserValidationResult
Method · 0.65
CreateKey
Method · 0.65
UpdateKey
Method · 0.65
CreatePolicy
Method · 0.65
UpdatePolicy
Method · 0.65
CreateUser
Method · 0.65
UpdateUser
Method · 0.65
UpdateUserViaTagsAndUserId
Method · 0.65
GetEventsV2
Method · 0.65
Implementers
9
UpdatePolicy
internal/policy/policy.go
Policy
internal/policy/policy.go
User
internal/user/user.go
UpdateUser
internal/user/user.go
UserValidator
internal/validator/user_validator.go
Validator
internal/validator/validator.go
UpdateKey
internal/key/key.go
RequestKey
internal/key/key.go
EventRequest
internal/event/event.go
Calls
no outgoing calls
Tested by
no test coverage detected