Versions in this module Expand all Collapse all v0 v0.0.6 Mar 29, 2026 v0.0.5 Mar 22, 2026 v0.0.4 Mar 22, 2026 v0.0.3 Mar 16, 2026 Changes in this version + type ClientInfo struct + CertPEM string + ClientID string + Fingerprint string + RegisteredAt time.Time + type GrantInfo struct + ClientID string + GrantedAt time.Time + GrantedBy string + MethodPattern string + type RequestInfo struct + ClientID string + ID int64 + Methods []string + RequestedAt time.Time + Status string + type Store struct + func OpenStore(dbPath string) (_ *Store, _err error) + func (s *Store) ApproveRequest(requestID int64, approvedBy string) error + func (s *Store) Close() error + func (s *Store) CreateRequest(clientID string, methods []string) (int64, error) + func (s *Store) DenyRequest(requestID int64) error + func (s *Store) Grant(clientID string, methodPattern string, grantedBy string) error + func (s *Store) IsMethodAllowed(clientID string, fullMethod string) (bool, error) + func (s *Store) ListClients() ([]ClientInfo, error) + func (s *Store) ListGrants(clientID string) ([]GrantInfo, error) + func (s *Store) ListPendingRequests() ([]RequestInfo, error) + func (s *Store) RegisterClient(clientID string, certPEM string, fingerprint string) error + func (s *Store) Revoke(clientID string, methodPattern string) error + func (s *Store) RevokeClient(clientID string) error