github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/protocol/keybase1/merkle_store.go (about)

     1  // Auto-generated to Go types and interfaces using avdl-compiler v1.4.10 (https://github.com/keybase/node-avdl-compiler)
     2  //   Input file: avdl/keybase1/merkle_store.avdl
     3  
     4  package keybase1
     5  
     6  import (
     7  	"github.com/keybase/go-framed-msgpack-rpc/rpc"
     8  )
     9  
    10  type MerkleStoreSupportedVersion int
    11  
    12  func (o MerkleStoreSupportedVersion) DeepCopy() MerkleStoreSupportedVersion {
    13  	return o
    14  }
    15  
    16  type MerkleStoreKitHash string
    17  
    18  func (o MerkleStoreKitHash) DeepCopy() MerkleStoreKitHash {
    19  	return o
    20  }
    21  
    22  type MerkleStoreKit string
    23  
    24  func (o MerkleStoreKit) DeepCopy() MerkleStoreKit {
    25  	return o
    26  }
    27  
    28  type MerkleStoreEntryString string
    29  
    30  func (o MerkleStoreEntryString) DeepCopy() MerkleStoreEntryString {
    31  	return o
    32  }
    33  
    34  type MerkleStoreEntry struct {
    35  	Hash  MerkleStoreKitHash     `codec:"hash" json:"hash"`
    36  	Entry MerkleStoreEntryString `codec:"entry" json:"entry"`
    37  }
    38  
    39  func (o MerkleStoreEntry) DeepCopy() MerkleStoreEntry {
    40  	return MerkleStoreEntry{
    41  		Hash:  o.Hash.DeepCopy(),
    42  		Entry: o.Entry.DeepCopy(),
    43  	}
    44  }
    45  
    46  type Merkle_storeInterface interface {
    47  }
    48  
    49  func Merkle_storeProtocol(i Merkle_storeInterface) rpc.Protocol {
    50  	return rpc.Protocol{
    51  		Name:    "keybase.1.merkle_store",
    52  		Methods: map[string]rpc.ServeHandlerDescription{},
    53  	}
    54  }
    55  
    56  type Merkle_storeClient struct {
    57  	Cli rpc.GenericClient
    58  }