Documentation
¶
Index ¶
- Variables
- type Create
- func (*Create) Descriptor() ([]byte, []int)
- func (m *Create) GetParams() *Template
- func (*Create) ProtoMessage()
- func (m *Create) Reset()
- func (m *Create) String() string
- func (m *Create) XXX_DiscardUnknown()
- func (m *Create) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Create) XXX_Merge(src proto.Message)
- func (m *Create) XXX_Size() int
- func (m *Create) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetCoreData() *_struct.Struct
- func (m *Data) GetCreatedAt() int64
- func (m *Data) GetDescription() string
- func (m *Data) GetIssuerPub() string
- func (m *Data) GetName() string
- func (m *Data) GetType() string
- func (m *Data) GetVersion() *Version
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type Delete
- func (*Delete) Descriptor() ([]byte, []int)
- func (m *Delete) GetAddresses() []string
- func (*Delete) ProtoMessage()
- func (m *Delete) Reset()
- func (m *Delete) String() string
- func (m *Delete) XXX_DiscardUnknown()
- func (m *Delete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Delete) XXX_Merge(src proto.Message)
- func (m *Delete) XXX_Size() int
- func (m *Delete) XXX_Unmarshal(b []byte) error
- type Method
- type RPCRequest
- func (*RPCRequest) Descriptor() ([]byte, []int)
- func (m *RPCRequest) GetCreate() *Create
- func (m *RPCRequest) GetDelete() *Delete
- func (m *RPCRequest) GetMethod() isRPCRequest_Method
- func (*RPCRequest) ProtoMessage()
- func (m *RPCRequest) Reset()
- func (m *RPCRequest) String() string
- func (m *RPCRequest) XXX_DiscardUnknown()
- func (m *RPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RPCRequest) XXX_Merge(src proto.Message)
- func (*RPCRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *RPCRequest) XXX_Size() int
- func (m *RPCRequest) XXX_Unmarshal(b []byte) error
- type RPCRequest_Create
- type RPCRequest_Delete
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (m *Receipt) GetDate() int64
- func (m *Receipt) GetRpcMethod() Method
- func (m *Receipt) GetStateAddress() string
- func (m *Receipt) GetTemplate() *Template
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) String() string
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type Template
- func (*Template) Descriptor() ([]byte, []int)
- func (m *Template) GetData() *Data
- func (m *Template) GetVerification() *Verification
- func (*Template) ProtoMessage()
- func (m *Template) Reset()
- func (m *Template) String() string
- func (m *Template) XXX_DiscardUnknown()
- func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Template) XXX_Merge(src proto.Message)
- func (m *Template) XXX_Size() int
- func (m *Template) XXX_Unmarshal(b []byte) error
- type Verification
- func (*Verification) Descriptor() ([]byte, []int)
- func (m *Verification) GetProofOfIntegrityHash() string
- func (m *Verification) GetSignature() string
- func (*Verification) ProtoMessage()
- func (m *Verification) Reset()
- func (m *Verification) String() string
- func (m *Verification) XXX_DiscardUnknown()
- func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Verification) XXX_Merge(src proto.Message)
- func (m *Verification) XXX_Size() int
- func (m *Verification) XXX_Unmarshal(b []byte) error
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (m *Version) GetMajor() int32
- func (m *Version) GetMinor() int32
- func (m *Version) GetPatch() int32
- func (*Version) ProtoMessage()
- func (m *Version) Reset()
- func (m *Version) String() string
- func (m *Version) XXX_DiscardUnknown()
- func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Version) XXX_Merge(src proto.Message)
- func (m *Version) XXX_Size() int
- func (m *Version) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Method_name = map[int32]string{
0: "CREATE",
1: "UPDATE",
2: "DELETE",
}
View Source
var Method_value = map[string]int32{
"CREATE": 0,
"UPDATE": 1,
"DELETE": 2,
}
Functions ¶
This section is empty.
Types ¶
type Create ¶
type Create struct { Params *Template `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Create) Descriptor ¶
func (*Create) ProtoMessage ¶
func (*Create) ProtoMessage()
func (*Create) XXX_DiscardUnknown ¶
func (m *Create) XXX_DiscardUnknown()
func (*Create) XXX_Marshal ¶
func (*Create) XXX_Unmarshal ¶
type Data ¶
type Data struct { IssuerPub string `protobuf:"bytes,1,opt,name=issuer_pub,json=issuerPub,proto3" json:"issuer_pub,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Version *Version `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` CoreData *_struct.Struct `protobuf:"bytes,7,opt,name=core_data,json=coreData,proto3" json:"core_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Data) Descriptor ¶
func (*Data) GetCoreData ¶
func (*Data) GetCreatedAt ¶
func (*Data) GetDescription ¶
func (*Data) GetIssuerPub ¶
func (*Data) GetVersion ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type Delete ¶
type Delete struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Delete) Descriptor ¶
func (*Delete) GetAddresses ¶
func (*Delete) ProtoMessage ¶
func (*Delete) ProtoMessage()
func (*Delete) XXX_DiscardUnknown ¶
func (m *Delete) XXX_DiscardUnknown()
func (*Delete) XXX_Marshal ¶
func (*Delete) XXX_Unmarshal ¶
type RPCRequest ¶
type RPCRequest struct { // Types that are valid to be assigned to Method: // *RPCRequest_Create // *RPCRequest_Delete Method isRPCRequest_Method `protobuf_oneof:"method"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RPCRequest) Descriptor ¶
func (*RPCRequest) Descriptor() ([]byte, []int)
func (*RPCRequest) GetCreate ¶
func (m *RPCRequest) GetCreate() *Create
func (*RPCRequest) GetDelete ¶
func (m *RPCRequest) GetDelete() *Delete
func (*RPCRequest) GetMethod ¶
func (m *RPCRequest) GetMethod() isRPCRequest_Method
func (*RPCRequest) ProtoMessage ¶
func (*RPCRequest) ProtoMessage()
func (*RPCRequest) Reset ¶
func (m *RPCRequest) Reset()
func (*RPCRequest) String ¶
func (m *RPCRequest) String() string
func (*RPCRequest) XXX_DiscardUnknown ¶
func (m *RPCRequest) XXX_DiscardUnknown()
func (*RPCRequest) XXX_Marshal ¶
func (m *RPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RPCRequest) XXX_Merge ¶
func (dst *RPCRequest) XXX_Merge(src proto.Message)
func (*RPCRequest) XXX_OneofFuncs ¶
func (*RPCRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*RPCRequest) XXX_Size ¶
func (m *RPCRequest) XXX_Size() int
func (*RPCRequest) XXX_Unmarshal ¶
func (m *RPCRequest) XXX_Unmarshal(b []byte) error
type RPCRequest_Create ¶
type RPCRequest_Create struct {
Create *Create `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type RPCRequest_Delete ¶
type RPCRequest_Delete struct {
Delete *Delete `protobuf:"bytes,2,opt,name=delete,proto3,oneof"`
}
type Receipt ¶
type Receipt struct { Date int64 `protobuf:"varint,1,opt,name=date,proto3" json:"date,omitempty"` StateAddress string `protobuf:"bytes,2,opt,name=state_address,json=stateAddress,proto3" json:"state_address,omitempty"` RpcMethod Method `protobuf:"varint,3,opt,name=rpc_method,json=rpcMethod,proto3,enum=template_pb.Method" json:"rpc_method,omitempty"` Template *Template `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Receipt) Descriptor ¶
func (*Receipt) GetRpcMethod ¶
func (*Receipt) GetStateAddress ¶
func (*Receipt) GetTemplate ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶
func (*Receipt) XXX_Unmarshal ¶
type Template ¶
type Template struct { Data *Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Verification *Verification `protobuf:"bytes,2,opt,name=verification,proto3" json:"verification,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Template) Descriptor ¶
func (*Template) GetVerification ¶
func (m *Template) GetVerification() *Verification
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) XXX_DiscardUnknown ¶
func (m *Template) XXX_DiscardUnknown()
func (*Template) XXX_Marshal ¶
func (*Template) XXX_Unmarshal ¶
type Verification ¶
type Verification struct { Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` ProofOfIntegrityHash string `protobuf:"bytes,2,opt,name=proof_of_integrity_hash,json=proofOfIntegrityHash,proto3" json:"proof_of_integrity_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Verification) Descriptor ¶
func (*Verification) Descriptor() ([]byte, []int)
func (*Verification) GetProofOfIntegrityHash ¶
func (m *Verification) GetProofOfIntegrityHash() string
func (*Verification) GetSignature ¶
func (m *Verification) GetSignature() string
func (*Verification) ProtoMessage ¶
func (*Verification) ProtoMessage()
func (*Verification) Reset ¶
func (m *Verification) Reset()
func (*Verification) String ¶
func (m *Verification) String() string
func (*Verification) XXX_DiscardUnknown ¶
func (m *Verification) XXX_DiscardUnknown()
func (*Verification) XXX_Marshal ¶
func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Verification) XXX_Merge ¶
func (dst *Verification) XXX_Merge(src proto.Message)
func (*Verification) XXX_Size ¶
func (m *Verification) XXX_Size() int
func (*Verification) XXX_Unmarshal ¶
func (m *Verification) XXX_Unmarshal(b []byte) error
type Version ¶
type Version struct { Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Version) Descriptor ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) XXX_DiscardUnknown ¶
func (m *Version) XXX_DiscardUnknown()
func (*Version) XXX_Marshal ¶
func (*Version) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.