Versions in this module Expand all Collapse all v0 v0.0.5 Mar 10, 2025 v0.0.4 Jan 27, 2025 Changes in this version + var States = statesContainer + func ExhaustiveStates(f func(State)) + func GenerateKey(id uuid.UUID, role constants.DataspaceRole) []byte + type Direction uint8 + const DirectionPull + const DirectionPush + const DirectionUnknown + type Request struct + func FromBytes(b []byte) (*Request, error) + func New(consumerPID uuid.UUID, agreement *odrl.Agreement, format string, ...) *Request + func (tr *Request) GetAgreementID() uuid.UUID + func (tr *Request) GetCallback() *url.URL + func (tr *Request) GetConsumerPID() uuid.UUID + func (tr *Request) GetFormat() string + func (tr *Request) GetProviderPID() uuid.UUID + func (tr *Request) GetPublishInfo() *providerv1.PublishInfo + func (tr *Request) GetRole() constants.DataspaceRole + func (tr *Request) GetSelf() *url.URL + func (tr *Request) GetState() State + func (tr *Request) GetTarget() string + func (tr *Request) GetTransferDirection() Direction + func (tr *Request) GetTransferProcess() shared.TransferProcess + func (tr *Request) GetTransferRequest() *Request + func (tr *Request) Modified() bool + func (tr *Request) ReadOnly() bool + func (tr *Request) SetProviderPID(id uuid.UUID) + func (tr *Request) SetPublishInfo(pi *providerv1.PublishInfo) + func (tr *Request) SetReadOnly() + func (tr *Request) SetState(state State) error + func (tr *Request) StorageKey() []byte + func (tr *Request) ToBytes() ([]byte, error) + type State struct + func ParseState(a any) (State, error) + func (i State) String() string + func (p *State) GobDecode(b []byte) error + func (p *State) Scan(value any) error + func (p *State) UnmarshalJSON(b []byte) error + func (p State) GobEncode() ([]byte, error) + func (p State) IsValid() bool + func (p State) MarshalJSON() ([]byte, error) + func (p State) Value() (driver.Value, error)