Versions in this module Expand all Collapse all v0 v0.1.0 Apr 12, 2021 Changes in this version + type Accessor struct + func NewContractAccessor() *Accessor + func (c *Accessor) Post(contractorName string, id ID, availableServices []string, ...) (McOpsID, error) + func (c *Accessor) Update(contractorName string, id ID, availableServices []string, ...) error + func (c Accessor) Get(id ID) (*Contract, error) + type Contract struct + AvailableServices []string + ContractorName string + ID ID + LastUpdatedTs *LastUpdatedTime + McOpsID McOpsID + Quota *pb.ContractQuota + type ID string + type LastUpdatedTime struct + func (ts *LastUpdatedTime) UnmarshalJSON(data []byte) error + func (ts LastUpdatedTime) Timestamppb() *timestamppb.Timestamp + type McOpsID uuid.UUID + func GenerateMcOpsID() McOpsID + func (m McOpsID) String() string