Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Announcement ¶
type Announcement struct { Stream object.Hash Parents []object.Hash Owners []crypto.PublicKey Policy object.Policy Signatures []object.Signature Nonce string Leaves []object.Hash // contains filtered or unexported fields }
func (*Announcement) FromObject ¶
func (e *Announcement) FromObject(o object.Object) error
func (Announcement) GetSchema ¶
func (e Announcement) GetSchema() *object.SchemaObject
func (Announcement) GetType ¶
func (e Announcement) GetType() string
func (Announcement) ToObject ¶
func (e Announcement) ToObject() object.Object
type ObjectRequest ¶
type ObjectRequest struct { Stream object.Hash Parents []object.Hash Owners []crypto.PublicKey Policy object.Policy Signatures []object.Signature Nonce string Objects []object.Hash // contains filtered or unexported fields }
func (*ObjectRequest) FromObject ¶
func (e *ObjectRequest) FromObject(o object.Object) error
func (ObjectRequest) GetSchema ¶
func (e ObjectRequest) GetSchema() *object.SchemaObject
func (ObjectRequest) GetType ¶
func (e ObjectRequest) GetType() string
func (ObjectRequest) ToObject ¶
func (e ObjectRequest) ToObject() object.Object
type ObjectResponse ¶
type ObjectResponse struct { Stream object.Hash Parents []object.Hash Owners []crypto.PublicKey Policy object.Policy Signatures []object.Signature Nonce string Objects []*object.Object // contains filtered or unexported fields }
func (*ObjectResponse) FromObject ¶
func (e *ObjectResponse) FromObject(o object.Object) error
func (ObjectResponse) GetSchema ¶
func (e ObjectResponse) GetSchema() *object.SchemaObject
func (ObjectResponse) GetType ¶
func (e ObjectResponse) GetType() string
func (ObjectResponse) ToObject ¶
func (e ObjectResponse) ToObject() object.Object
type Policy ¶
type Policy struct { Stream object.Hash Parents []object.Hash Owners []crypto.PublicKey Policy object.Policy Signatures []object.Signature Subjects []string Resources []string Conditions []string Action string // contains filtered or unexported fields }
func (Policy) GetSchema ¶
func (e Policy) GetSchema() *object.SchemaObject
type Request ¶
type Request struct { Stream object.Hash Parents []object.Hash Owners []crypto.PublicKey Policy object.Policy Signatures []object.Signature Nonce string Leaves []object.Hash // contains filtered or unexported fields }
func (Request) GetSchema ¶
func (e Request) GetSchema() *object.SchemaObject
type Response ¶
type Response struct { Stream object.Hash Parents []object.Hash Owners []crypto.PublicKey Policy object.Policy Signatures []object.Signature Nonce string Children []object.Hash // contains filtered or unexported fields }
func (Response) GetSchema ¶
func (e Response) GetSchema() *object.SchemaObject
Click to show internal directories.
Click to hide internal directories.