Documentation ¶
Index ¶
- Variables
- func NewMailchimpEndpoints() []*api.Endpoint
- func RegisterMailchimpHandler(s server.Server, hdlr MailchimpHandler, opts ...server.HandlerOption) error
- type AddCustomerRequest
- func (*AddCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCustomerRequest) GetEmail() string
- func (*AddCustomerRequest) ProtoMessage()
- func (x *AddCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *AddCustomerRequest) Reset()
- func (x *AddCustomerRequest) String() string
- type AddCustomerResponse
- type DeleteCustomerRequest
- func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCustomerRequest) GetEmail() string
- func (*DeleteCustomerRequest) ProtoMessage()
- func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCustomerRequest) Reset()
- func (x *DeleteCustomerRequest) String() string
- type DeleteCustomerResponse
- type MailchimpHandler
- type MailchimpService
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_mailchimp_proto protoreflect.FileDescriptor
Functions ¶
func NewMailchimpEndpoints ¶
func RegisterMailchimpHandler ¶
func RegisterMailchimpHandler(s server.Server, hdlr MailchimpHandler, opts ...server.HandlerOption) error
Types ¶
type AddCustomerRequest ¶
type AddCustomerRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*AddCustomerRequest) Descriptor
deprecated
func (*AddCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCustomerRequest.ProtoReflect.Descriptor instead.
func (*AddCustomerRequest) GetEmail ¶
func (x *AddCustomerRequest) GetEmail() string
func (*AddCustomerRequest) ProtoMessage ¶
func (*AddCustomerRequest) ProtoMessage()
func (*AddCustomerRequest) ProtoReflect ¶
func (x *AddCustomerRequest) ProtoReflect() protoreflect.Message
func (*AddCustomerRequest) Reset ¶
func (x *AddCustomerRequest) Reset()
func (*AddCustomerRequest) String ¶
func (x *AddCustomerRequest) String() string
type AddCustomerResponse ¶
type AddCustomerResponse struct {
// contains filtered or unexported fields
}
func (*AddCustomerResponse) Descriptor
deprecated
func (*AddCustomerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddCustomerResponse.ProtoReflect.Descriptor instead.
func (*AddCustomerResponse) ProtoMessage ¶
func (*AddCustomerResponse) ProtoMessage()
func (*AddCustomerResponse) ProtoReflect ¶
func (x *AddCustomerResponse) ProtoReflect() protoreflect.Message
func (*AddCustomerResponse) Reset ¶
func (x *AddCustomerResponse) Reset()
func (*AddCustomerResponse) String ¶
func (x *AddCustomerResponse) String() string
type DeleteCustomerRequest ¶
type DeleteCustomerRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*DeleteCustomerRequest) Descriptor
deprecated
func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCustomerRequest.ProtoReflect.Descriptor instead.
func (*DeleteCustomerRequest) GetEmail ¶
func (x *DeleteCustomerRequest) GetEmail() string
func (*DeleteCustomerRequest) ProtoMessage ¶
func (*DeleteCustomerRequest) ProtoMessage()
func (*DeleteCustomerRequest) ProtoReflect ¶
func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Message
func (*DeleteCustomerRequest) Reset ¶
func (x *DeleteCustomerRequest) Reset()
func (*DeleteCustomerRequest) String ¶
func (x *DeleteCustomerRequest) String() string
type DeleteCustomerResponse ¶
type DeleteCustomerResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCustomerResponse) Descriptor
deprecated
func (*DeleteCustomerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCustomerResponse.ProtoReflect.Descriptor instead.
func (*DeleteCustomerResponse) ProtoMessage ¶
func (*DeleteCustomerResponse) ProtoMessage()
func (*DeleteCustomerResponse) ProtoReflect ¶
func (x *DeleteCustomerResponse) ProtoReflect() protoreflect.Message
func (*DeleteCustomerResponse) Reset ¶
func (x *DeleteCustomerResponse) Reset()
func (*DeleteCustomerResponse) String ¶
func (x *DeleteCustomerResponse) String() string
type MailchimpHandler ¶
type MailchimpHandler interface { AddCustomer(context.Context, *AddCustomerRequest, *AddCustomerResponse) error DeleteCustomer(context.Context, *DeleteCustomerRequest, *DeleteCustomerResponse) error }
type MailchimpService ¶
type MailchimpService interface { AddCustomer(ctx context.Context, in *AddCustomerRequest, opts ...client.CallOption) (*AddCustomerResponse, error) DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...client.CallOption) (*DeleteCustomerResponse, error) }
func NewMailchimpService ¶
func NewMailchimpService(name string, c client.Client) MailchimpService
Click to show internal directories.
Click to hide internal directories.