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

     1  // Auto-generated by avdl-compiler v1.3.29 (https://github.com/keybase/node-avdl-compiler)
     2  //   Input file: avdl/chat1/decorate.avdl
     3  
     4  package chat1
     5  
     6  import (
     7  	stellar1 "github.com/keybase/client/go/protocol/stellar1"
     8  	"github.com/keybase/go-framed-msgpack-rpc/rpc"
     9  )
    10  
    11  type DecorationPayment struct {
    12  	PaymentID stellar1.PaymentID `codec:"paymentID" json:"paymentID"`
    13  }
    14  
    15  func (o DecorationPayment) DeepCopy() DecorationPayment {
    16  	return DecorationPayment{
    17  		PaymentID: o.PaymentID.DeepCopy(),
    18  	}
    19  }
    20  
    21  type DecorateInterface interface {
    22  }
    23  
    24  func DecorateProtocol(i DecorateInterface) rpc.Protocol {
    25  	return rpc.Protocol{
    26  		Name:    "chat.1.decorate",
    27  		Methods: map[string]rpc.ServeHandlerDescription{},
    28  	}
    29  }
    30  
    31  type DecorateClient struct {
    32  	Cli rpc.GenericClient
    33  }