Versions in this module Expand all Collapse all v1 v1.1.5 Nov 4, 2022 v1.1.4 Nov 1, 2022 v1.1.3 Oct 18, 2022 v1.1.2 Oct 18, 2022 v1.1.1 Oct 17, 2022 v1.1.0 Oct 14, 2022 v1.0.6 Oct 10, 2022 v1.0.5 Oct 6, 2022 Changes in this version + var Contacts_ServiceDesc = grpc.ServiceDesc + type UnsafeContactsServer interface v1.0.4 Sep 30, 2022 v1.0.3 Sep 27, 2022 v1.0.2 Sep 19, 2022 v1.0.1 Sep 7, 2022 Changes in this version + var File_proto_imp_api_contacts_contacts_proto protoreflect.FileDescriptor + func RegisterContactsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterContactsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContactsClient) error + func RegisterContactsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterContactsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ContactsServer) error + func RegisterContactsServer(s *grpc.Server, srv ContactsServer) + type Contact struct + Did string + DidDocument string + HasContacted bool + Id int64 + Metadata string + Name string + UserDID string + func (*Contact) Descriptor() ([]byte, []int) + func (*Contact) ProtoMessage() + func (x *Contact) GetDid() string + func (x *Contact) GetDidDocument() string + func (x *Contact) GetHasContacted() bool + func (x *Contact) GetId() int64 + func (x *Contact) GetMetadata() string + func (x *Contact) GetName() string + func (x *Contact) GetUserDID() string + func (x *Contact) ProtoReflect() protoreflect.Message + func (x *Contact) Reset() + func (x *Contact) String() string + type ContactUpdate struct + Did string + Id int64 + Metadata string + Name string + func (*ContactUpdate) Descriptor() ([]byte, []int) + func (*ContactUpdate) ProtoMessage() + func (x *ContactUpdate) GetDid() string + func (x *ContactUpdate) GetId() int64 + func (x *ContactUpdate) GetMetadata() string + func (x *ContactUpdate) GetName() string + func (x *ContactUpdate) ProtoReflect() protoreflect.Message + func (x *ContactUpdate) Reset() + func (x *ContactUpdate) String() string + type ContactsClient interface + CreateContact func(ctx context.Context, in *CreateContactRequest, opts ...grpc.CallOption) (*CreateContactResponse, error) + CreateContacts func(ctx context.Context, in *CreateContactsRequest, opts ...grpc.CallOption) (*CreateContactsResponse, error) + DeleteContact func(ctx context.Context, in *DeleteContactRequest, opts ...grpc.CallOption) (*DeleteContactResponse, error) + GetContact func(ctx context.Context, in *GetContactRequest, opts ...grpc.CallOption) (*GetContactResponse, error) + GetContactsList func(ctx context.Context, in *GetContactsListRequest, opts ...grpc.CallOption) (*GetContactsListResponse, error) + UpdateContact func(ctx context.Context, in *UpdateContactRequest, opts ...grpc.CallOption) (*UpdateContactResponse, error) + func NewContactsClient(cc grpc.ClientConnInterface) ContactsClient + type ContactsServer interface + CreateContact func(context.Context, *CreateContactRequest) (*CreateContactResponse, error) + CreateContacts func(context.Context, *CreateContactsRequest) (*CreateContactsResponse, error) + DeleteContact func(context.Context, *DeleteContactRequest) (*DeleteContactResponse, error) + GetContact func(context.Context, *GetContactRequest) (*GetContactResponse, error) + GetContactsList func(context.Context, *GetContactsListRequest) (*GetContactsListResponse, error) + UpdateContact func(context.Context, *UpdateContactRequest) (*UpdateContactResponse, error) + type CreateContactRequest struct + Contact *Contact + func (*CreateContactRequest) Descriptor() ([]byte, []int) + func (*CreateContactRequest) ProtoMessage() + func (x *CreateContactRequest) GetContact() *Contact + func (x *CreateContactRequest) ProtoReflect() protoreflect.Message + func (x *CreateContactRequest) Reset() + func (x *CreateContactRequest) String() string + type CreateContactResponse struct + Contact *Contact + func (*CreateContactResponse) Descriptor() ([]byte, []int) + func (*CreateContactResponse) ProtoMessage() + func (x *CreateContactResponse) GetContact() *Contact + func (x *CreateContactResponse) ProtoReflect() protoreflect.Message + func (x *CreateContactResponse) Reset() + func (x *CreateContactResponse) String() string + type CreateContactsRequest struct + Contacts []*Contact + func (*CreateContactsRequest) Descriptor() ([]byte, []int) + func (*CreateContactsRequest) ProtoMessage() + func (x *CreateContactsRequest) GetContacts() []*Contact + func (x *CreateContactsRequest) ProtoReflect() protoreflect.Message + func (x *CreateContactsRequest) Reset() + func (x *CreateContactsRequest) String() string + type CreateContactsResponse struct + Contacts []*Contact + func (*CreateContactsResponse) Descriptor() ([]byte, []int) + func (*CreateContactsResponse) ProtoMessage() + func (x *CreateContactsResponse) GetContacts() []*Contact + func (x *CreateContactsResponse) ProtoReflect() protoreflect.Message + func (x *CreateContactsResponse) Reset() + func (x *CreateContactsResponse) String() string + type DeleteContactRequest struct + Id int64 + func (*DeleteContactRequest) Descriptor() ([]byte, []int) + func (*DeleteContactRequest) ProtoMessage() + func (x *DeleteContactRequest) GetId() int64 + func (x *DeleteContactRequest) ProtoReflect() protoreflect.Message + func (x *DeleteContactRequest) Reset() + func (x *DeleteContactRequest) String() string + type DeleteContactResponse struct + func (*DeleteContactResponse) Descriptor() ([]byte, []int) + func (*DeleteContactResponse) ProtoMessage() + func (x *DeleteContactResponse) ProtoReflect() protoreflect.Message + func (x *DeleteContactResponse) Reset() + func (x *DeleteContactResponse) String() string + type GetContactRequest struct + Id int64 + func (*GetContactRequest) Descriptor() ([]byte, []int) + func (*GetContactRequest) ProtoMessage() + func (x *GetContactRequest) GetId() int64 + func (x *GetContactRequest) ProtoReflect() protoreflect.Message + func (x *GetContactRequest) Reset() + func (x *GetContactRequest) String() string + type GetContactResponse struct + Contact *Contact + func (*GetContactResponse) Descriptor() ([]byte, []int) + func (*GetContactResponse) ProtoMessage() + func (x *GetContactResponse) GetContact() *Contact + func (x *GetContactResponse) ProtoReflect() protoreflect.Message + func (x *GetContactResponse) Reset() + func (x *GetContactResponse) String() string + type GetContactsListRequest struct + func (*GetContactsListRequest) Descriptor() ([]byte, []int) + func (*GetContactsListRequest) ProtoMessage() + func (x *GetContactsListRequest) ProtoReflect() protoreflect.Message + func (x *GetContactsListRequest) Reset() + func (x *GetContactsListRequest) String() string + type GetContactsListResponse struct + Contacts []*Contact + func (*GetContactsListResponse) Descriptor() ([]byte, []int) + func (*GetContactsListResponse) ProtoMessage() + func (x *GetContactsListResponse) GetContacts() []*Contact + func (x *GetContactsListResponse) ProtoReflect() protoreflect.Message + func (x *GetContactsListResponse) Reset() + func (x *GetContactsListResponse) String() string + type UnimplementedContactsServer struct + func (*UnimplementedContactsServer) CreateContact(context.Context, *CreateContactRequest) (*CreateContactResponse, error) + func (*UnimplementedContactsServer) CreateContacts(context.Context, *CreateContactsRequest) (*CreateContactsResponse, error) + func (*UnimplementedContactsServer) DeleteContact(context.Context, *DeleteContactRequest) (*DeleteContactResponse, error) + func (*UnimplementedContactsServer) GetContact(context.Context, *GetContactRequest) (*GetContactResponse, error) + func (*UnimplementedContactsServer) GetContactsList(context.Context, *GetContactsListRequest) (*GetContactsListResponse, error) + func (*UnimplementedContactsServer) UpdateContact(context.Context, *UpdateContactRequest) (*UpdateContactResponse, error) + type UpdateContactRequest struct + Contact *ContactUpdate + func (*UpdateContactRequest) Descriptor() ([]byte, []int) + func (*UpdateContactRequest) ProtoMessage() + func (x *UpdateContactRequest) GetContact() *ContactUpdate + func (x *UpdateContactRequest) ProtoReflect() protoreflect.Message + func (x *UpdateContactRequest) Reset() + func (x *UpdateContactRequest) String() string + type UpdateContactResponse struct + Contact *Contact + func (*UpdateContactResponse) Descriptor() ([]byte, []int) + func (*UpdateContactResponse) ProtoMessage() + func (x *UpdateContactResponse) GetContact() *Contact + func (x *UpdateContactResponse) ProtoReflect() protoreflect.Message + func (x *UpdateContactResponse) Reset() + func (x *UpdateContactResponse) String() string v1.0.1-test Sep 7, 2022 v1.0.0-rc3 Aug 30, 2022 v1.0.0-rc2 Aug 30, 2022 v1.0.0-rc1 Aug 30, 2022