event_pb

package
v0.0.0-...-45e1a9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MerkleTree

type MerkleTree struct {
	Digest string                 `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	Tree   map[string]*MerkleTree `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MerkleTree) Descriptor deprecated

func (*MerkleTree) Descriptor() ([]byte, []int)

Deprecated: Use MerkleTree.ProtoReflect.Descriptor instead.

func (*MerkleTree) GetDigest

func (x *MerkleTree) GetDigest() string

func (*MerkleTree) GetTree

func (x *MerkleTree) GetTree() map[string]*MerkleTree

func (*MerkleTree) ProtoMessage

func (*MerkleTree) ProtoMessage()

func (*MerkleTree) ProtoReflect

func (x *MerkleTree) ProtoReflect() protoreflect.Message

func (*MerkleTree) Reset

func (x *MerkleTree) Reset()

func (*MerkleTree) String

func (x *MerkleTree) String() string

type ProofOfHistory

type ProofOfHistory struct {
	PreviousHash *string `protobuf:"bytes,1,opt,name=previous_hash,json=previousHash,proto3,oneof" json:"previous_hash,omitempty"`
	Hash         string  `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Signature    string  `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ProofOfHistory) Descriptor deprecated

func (*ProofOfHistory) Descriptor() ([]byte, []int)

Deprecated: Use ProofOfHistory.ProtoReflect.Descriptor instead.

func (*ProofOfHistory) GetHash

func (x *ProofOfHistory) GetHash() string

func (*ProofOfHistory) GetPreviousHash

func (x *ProofOfHistory) GetPreviousHash() string

func (*ProofOfHistory) GetSignature

func (x *ProofOfHistory) GetSignature() string

func (*ProofOfHistory) ProtoMessage

func (*ProofOfHistory) ProtoMessage()

func (*ProofOfHistory) ProtoReflect

func (x *ProofOfHistory) ProtoReflect() protoreflect.Message

func (*ProofOfHistory) Reset

func (x *ProofOfHistory) Reset()

func (*ProofOfHistory) String

func (x *ProofOfHistory) String() string

type Server

type Server struct {
	Tree       *MerkleTree `protobuf:"bytes,1,opt,name=tree,proto3,oneof" json:"tree,omitempty"`
	PublicUrl  string      `protobuf:"bytes,2,opt,name=publicUrl,proto3" json:"publicUrl,omitempty"`
	Rack       string      `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"`
	DataCenter string      `protobuf:"bytes,4,opt,name=dataCenter,proto3" json:"dataCenter,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

func (*Server) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetDataCenter

func (x *Server) GetDataCenter() string

func (*Server) GetPublicUrl

func (x *Server) GetPublicUrl() string

func (*Server) GetRack

func (x *Server) GetRack() string

func (*Server) GetTree

func (x *Server) GetTree() *MerkleTree

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

func (x *Server) ProtoReflect() protoreflect.Message

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL