Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2024 Changes in this version + type ContractCredential struct + func NewContractCreds(id []byte, contract, command string) ContractCredential + func (cc ContractCredential) GetID() []byte + func (cc ContractCredential) GetRule() string + type Credential interface + GetID func() []byte + GetRule func() string + type Identity interface + Equal func(other interface{}) bool + type Service interface + Grant func(store store.Snapshot, creds Credential, idents ...Identity) error + Match func(store store.Readable, creds Credential, idents ...Identity) error v0.0.1-alpha Mar 30, 2024