github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/protocol/keybase1/teambot.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/teambot.avdl
     3  
     4  package keybase1
     5  
     6  import (
     7  	"github.com/keybase/go-framed-msgpack-rpc/rpc"
     8  )
     9  
    10  type TeambotKeyGeneration int64
    11  
    12  func (o TeambotKeyGeneration) DeepCopy() TeambotKeyGeneration {
    13  	return o
    14  }
    15  
    16  type TeambotKeyMetadata struct {
    17  	Kid           KID                  `codec:"kid" json:"teambot_dh_public"`
    18  	Generation    TeambotKeyGeneration `codec:"generation" json:"generation"`
    19  	Uid           UID                  `codec:"uid" json:"uid"`
    20  	PukGeneration PerUserKeyGeneration `codec:"pukGeneration" json:"puk_generation"`
    21  	Application   TeamApplication      `codec:"application" json:"application"`
    22  }
    23  
    24  func (o TeambotKeyMetadata) DeepCopy() TeambotKeyMetadata {
    25  	return TeambotKeyMetadata{
    26  		Kid:           o.Kid.DeepCopy(),
    27  		Generation:    o.Generation.DeepCopy(),
    28  		Uid:           o.Uid.DeepCopy(),
    29  		PukGeneration: o.PukGeneration.DeepCopy(),
    30  		Application:   o.Application.DeepCopy(),
    31  	}
    32  }
    33  
    34  type TeambotKeyBoxed struct {
    35  	Box      string             `codec:"box" json:"box"`
    36  	Metadata TeambotKeyMetadata `codec:"metadata" json:"metadata"`
    37  }
    38  
    39  func (o TeambotKeyBoxed) DeepCopy() TeambotKeyBoxed {
    40  	return TeambotKeyBoxed{
    41  		Box:      o.Box,
    42  		Metadata: o.Metadata.DeepCopy(),
    43  	}
    44  }
    45  
    46  type TeambotKey struct {
    47  	Seed     Bytes32            `codec:"seed" json:"seed"`
    48  	Metadata TeambotKeyMetadata `codec:"metadata" json:"metadata"`
    49  }
    50  
    51  func (o TeambotKey) DeepCopy() TeambotKey {
    52  	return TeambotKey{
    53  		Seed:     o.Seed.DeepCopy(),
    54  		Metadata: o.Metadata.DeepCopy(),
    55  	}
    56  }
    57  
    58  type TeambotInterface interface {
    59  }
    60  
    61  func TeambotProtocol(i TeambotInterface) rpc.Protocol {
    62  	return rpc.Protocol{
    63  		Name:    "keybase.1.teambot",
    64  		Methods: map[string]rpc.ServeHandlerDescription{},
    65  	}
    66  }
    67  
    68  type TeambotClient struct {
    69  	Cli rpc.GenericClient
    70  }