Documentation ¶
Overview ¶
Package chama is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterChamaAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterChamaAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChamaAPIClient) error
- func RegisterChamaAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterChamaAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChamaAPIServer) error
- func RegisterChamaAPIServer(s grpc.ServiceRegistrar, srv ChamaAPIServer)
- func RegisterChamaMemberAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterChamaMemberAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChamaMemberAPIClient) error
- func RegisterChamaMemberAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterChamaMemberAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChamaMemberAPIServer) error
- func RegisterChamaMemberAPIServer(s grpc.ServiceRegistrar, srv ChamaMemberAPIServer)
- type Chama
- func (*Chama) Descriptor() ([]byte, []int)deprecated
- func (x *Chama) GetAccountBalance() float64
- func (x *Chama) GetActive() bool
- func (x *Chama) GetChamaId() string
- func (x *Chama) GetCreatedDate() string
- func (x *Chama) GetCreatorId() string
- func (x *Chama) GetDescription() string
- func (x *Chama) GetName() string
- func (x *Chama) GetStatus() string
- func (x *Chama) GetUpdatedDate() string
- func (*Chama) ProtoMessage()
- func (x *Chama) ProtoReflect() protoreflect.Message
- func (x *Chama) Reset()
- func (x *Chama) String() string
- type ChamaAPIClient
- type ChamaAPIServer
- type ChamaFilter
- type ChamaMember
- func (*ChamaMember) Descriptor() ([]byte, []int)deprecated
- func (x *ChamaMember) GetActive() bool
- func (x *ChamaMember) GetBeneficiaries() []*TrustPerson
- func (x *ChamaMember) GetChamaId() string
- func (x *ChamaMember) GetEmail() string
- func (x *ChamaMember) GetFirstName() string
- func (x *ChamaMember) GetGuarantees() []*TrustPerson
- func (x *ChamaMember) GetIdNumber() string
- func (x *ChamaMember) GetJobDetails() map[string]string
- func (x *ChamaMember) GetKyc() map[string]string
- func (x *ChamaMember) GetLastName() string
- func (x *ChamaMember) GetMemberId() string
- func (x *ChamaMember) GetPhone() string
- func (x *ChamaMember) GetRegisterDate() string
- func (x *ChamaMember) GetResidence() string
- func (x *ChamaMember) GetStatus() string
- func (x *ChamaMember) GetUpdatedDate() string
- func (*ChamaMember) ProtoMessage()
- func (x *ChamaMember) ProtoReflect() protoreflect.Message
- func (x *ChamaMember) Reset()
- func (x *ChamaMember) String() string
- type ChamaMemberAPIClient
- type ChamaMemberAPIServer
- type ChamaMemberFilter
- func (*ChamaMemberFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ChamaMemberFilter) GetChamaIds() []string
- func (*ChamaMemberFilter) ProtoMessage()
- func (x *ChamaMemberFilter) ProtoReflect() protoreflect.Message
- func (x *ChamaMemberFilter) Reset()
- func (x *ChamaMemberFilter) String() string
- type CreateChamaMemberRequest
- func (*CreateChamaMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChamaMemberRequest) GetChamaMember() *ChamaMember
- func (*CreateChamaMemberRequest) ProtoMessage()
- func (x *CreateChamaMemberRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChamaMemberRequest) Reset()
- func (x *CreateChamaMemberRequest) String() string
- type CreateChamaRequest
- func (*CreateChamaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChamaRequest) GetChama() *Chama
- func (*CreateChamaRequest) ProtoMessage()
- func (x *CreateChamaRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChamaRequest) Reset()
- func (x *CreateChamaRequest) String() string
- type DeleteChamaMemberRequest
- func (*DeleteChamaMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChamaMemberRequest) GetMemberId() string
- func (*DeleteChamaMemberRequest) ProtoMessage()
- func (x *DeleteChamaMemberRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChamaMemberRequest) Reset()
- func (x *DeleteChamaMemberRequest) String() string
- type GetChamaMemberRequest
- func (*GetChamaMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChamaMemberRequest) GetMemberId() string
- func (*GetChamaMemberRequest) ProtoMessage()
- func (x *GetChamaMemberRequest) ProtoReflect() protoreflect.Message
- func (x *GetChamaMemberRequest) Reset()
- func (x *GetChamaMemberRequest) String() string
- type GetChamaRequest
- type ListChamaMembersRequest
- func (*ListChamaMembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChamaMembersRequest) GetFilter() *ChamaMemberFilter
- func (x *ListChamaMembersRequest) GetPageSize() int32
- func (x *ListChamaMembersRequest) GetPageToken() string
- func (*ListChamaMembersRequest) ProtoMessage()
- func (x *ListChamaMembersRequest) ProtoReflect() protoreflect.Message
- func (x *ListChamaMembersRequest) Reset()
- func (x *ListChamaMembersRequest) String() string
- type ListChamaMembersResponse
- func (*ListChamaMembersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChamaMembersResponse) GetChamaMembers() []*ChamaMember
- func (x *ListChamaMembersResponse) GetNextPageToken() string
- func (*ListChamaMembersResponse) ProtoMessage()
- func (x *ListChamaMembersResponse) ProtoReflect() protoreflect.Message
- func (x *ListChamaMembersResponse) Reset()
- func (x *ListChamaMembersResponse) String() string
- type ListChamasRequest
- func (*ListChamasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChamasRequest) GetFilter() *ChamaFilter
- func (x *ListChamasRequest) GetPageSize() int32
- func (x *ListChamasRequest) GetPageToken() string
- func (*ListChamasRequest) ProtoMessage()
- func (x *ListChamasRequest) ProtoReflect() protoreflect.Message
- func (x *ListChamasRequest) Reset()
- func (x *ListChamasRequest) String() string
- type ListChamasResponse
- func (*ListChamasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChamasResponse) GetChamas() []*Chama
- func (x *ListChamasResponse) GetNextPageToken() string
- func (*ListChamasResponse) ProtoMessage()
- func (x *ListChamasResponse) ProtoReflect() protoreflect.Message
- func (x *ListChamasResponse) Reset()
- func (x *ListChamasResponse) String() string
- type TrustPerson
- func (*TrustPerson) Descriptor() ([]byte, []int)deprecated
- func (x *TrustPerson) GetEmail() string
- func (x *TrustPerson) GetName() string
- func (x *TrustPerson) GetPhone() string
- func (*TrustPerson) ProtoMessage()
- func (x *TrustPerson) ProtoReflect() protoreflect.Message
- func (x *TrustPerson) Reset()
- func (x *TrustPerson) String() string
- type UnimplementedChamaAPIServer
- func (UnimplementedChamaAPIServer) CreateChama(context.Context, *CreateChamaRequest) (*emptypb.Empty, error)
- func (UnimplementedChamaAPIServer) GetChama(context.Context, *GetChamaRequest) (*Chama, error)
- func (UnimplementedChamaAPIServer) ListChamas(context.Context, *ListChamasRequest) (*ListChamasResponse, error)
- func (UnimplementedChamaAPIServer) UpdateChama(context.Context, *UpdateChamaRequest) (*emptypb.Empty, error)
- type UnimplementedChamaMemberAPIServer
- func (UnimplementedChamaMemberAPIServer) CreateChamaMember(context.Context, *CreateChamaMemberRequest) (*emptypb.Empty, error)
- func (UnimplementedChamaMemberAPIServer) DeleteChamaMember(context.Context, *DeleteChamaMemberRequest) (*emptypb.Empty, error)
- func (UnimplementedChamaMemberAPIServer) GetChamaMember(context.Context, *GetChamaMemberRequest) (*ChamaMember, error)
- func (UnimplementedChamaMemberAPIServer) ListChamaMembers(context.Context, *ListChamaMembersRequest) (*ListChamaMembersResponse, error)
- func (UnimplementedChamaMemberAPIServer) UpdateChamaMember(context.Context, *UpdateChamaMemberRequest) (*emptypb.Empty, error)
- type UnsafeChamaAPIServer
- type UnsafeChamaMemberAPIServer
- type UpdateChamaMemberRequest
- func (*UpdateChamaMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChamaMemberRequest) GetChamaMember() *ChamaMember
- func (*UpdateChamaMemberRequest) ProtoMessage()
- func (x *UpdateChamaMemberRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChamaMemberRequest) Reset()
- func (x *UpdateChamaMemberRequest) String() string
- type UpdateChamaRequest
- func (*UpdateChamaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChamaRequest) GetChama() *Chama
- func (*UpdateChamaRequest) ProtoMessage()
- func (x *UpdateChamaRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChamaRequest) Reset()
- func (x *UpdateChamaRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_chama_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChamaAPIHandler ¶
func RegisterChamaAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterChamaAPIHandler registers the http handlers for service ChamaAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterChamaAPIHandlerClient ¶
func RegisterChamaAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChamaAPIClient) error
RegisterChamaAPIHandlerClient registers the http handlers for service ChamaAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ChamaAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ChamaAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ChamaAPIClient" to call the correct interceptors.
func RegisterChamaAPIHandlerFromEndpoint ¶
func RegisterChamaAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterChamaAPIHandlerFromEndpoint is same as RegisterChamaAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterChamaAPIHandlerServer ¶
func RegisterChamaAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChamaAPIServer) error
RegisterChamaAPIHandlerServer registers the http handlers for service ChamaAPI to "mux". UnaryRPC :call ChamaAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterChamaAPIHandlerFromEndpoint instead.
func RegisterChamaAPIServer ¶
func RegisterChamaAPIServer(s grpc.ServiceRegistrar, srv ChamaAPIServer)
func RegisterChamaMemberAPIHandler ¶
func RegisterChamaMemberAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterChamaMemberAPIHandler registers the http handlers for service ChamaMemberAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterChamaMemberAPIHandlerClient ¶
func RegisterChamaMemberAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChamaMemberAPIClient) error
RegisterChamaMemberAPIHandlerClient registers the http handlers for service ChamaMemberAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ChamaMemberAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ChamaMemberAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ChamaMemberAPIClient" to call the correct interceptors.
func RegisterChamaMemberAPIHandlerFromEndpoint ¶
func RegisterChamaMemberAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterChamaMemberAPIHandlerFromEndpoint is same as RegisterChamaMemberAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterChamaMemberAPIHandlerServer ¶
func RegisterChamaMemberAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChamaMemberAPIServer) error
RegisterChamaMemberAPIHandlerServer registers the http handlers for service ChamaMemberAPI to "mux". UnaryRPC :call ChamaMemberAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterChamaMemberAPIHandlerFromEndpoint instead.
func RegisterChamaMemberAPIServer ¶
func RegisterChamaMemberAPIServer(s grpc.ServiceRegistrar, srv ChamaMemberAPIServer)
Types ¶
type Chama ¶
type Chama struct { ChamaId string `protobuf:"bytes,1,opt,name=chama_id,json=chamaId,proto3" json:"chama_id,omitempty"` CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` AccountBalance float64 `protobuf:"fixed64,6,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"` Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"` UpdatedDate string `protobuf:"bytes,8,opt,name=updated_date,json=updatedDate,proto3" json:"updated_date,omitempty"` CreatedDate string `protobuf:"bytes,9,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"` // contains filtered or unexported fields }
func (*Chama) Descriptor
deprecated
func (*Chama) GetAccountBalance ¶
func (*Chama) GetChamaId ¶
func (*Chama) GetCreatedDate ¶
func (*Chama) GetCreatorId ¶
func (*Chama) GetDescription ¶
func (*Chama) GetUpdatedDate ¶
func (*Chama) ProtoMessage ¶
func (*Chama) ProtoMessage()
func (*Chama) ProtoReflect ¶
func (x *Chama) ProtoReflect() protoreflect.Message
type ChamaAPIClient ¶
type ChamaAPIClient interface { CreateChama(ctx context.Context, in *CreateChamaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateChama(ctx context.Context, in *UpdateChamaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListChamas(ctx context.Context, in *ListChamasRequest, opts ...grpc.CallOption) (*ListChamasResponse, error) GetChama(ctx context.Context, in *GetChamaRequest, opts ...grpc.CallOption) (*Chama, error) }
ChamaAPIClient is the client API for ChamaAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewChamaAPIClient ¶
func NewChamaAPIClient(cc grpc.ClientConnInterface) ChamaAPIClient
type ChamaAPIServer ¶
type ChamaAPIServer interface { CreateChama(context.Context, *CreateChamaRequest) (*emptypb.Empty, error) UpdateChama(context.Context, *UpdateChamaRequest) (*emptypb.Empty, error) ListChamas(context.Context, *ListChamasRequest) (*ListChamasResponse, error) GetChama(context.Context, *GetChamaRequest) (*Chama, error) // contains filtered or unexported methods }
ChamaAPIServer is the server API for ChamaAPI service. All implementations must embed UnimplementedChamaAPIServer for forward compatibility
type ChamaFilter ¶
type ChamaFilter struct { CreatorIds []string `protobuf:"bytes,1,rep,name=creator_ids,json=creatorIds,proto3" json:"creator_ids,omitempty"` // contains filtered or unexported fields }
func (*ChamaFilter) Descriptor
deprecated
func (*ChamaFilter) Descriptor() ([]byte, []int)
Deprecated: Use ChamaFilter.ProtoReflect.Descriptor instead.
func (*ChamaFilter) GetCreatorIds ¶
func (x *ChamaFilter) GetCreatorIds() []string
func (*ChamaFilter) ProtoMessage ¶
func (*ChamaFilter) ProtoMessage()
func (*ChamaFilter) ProtoReflect ¶
func (x *ChamaFilter) ProtoReflect() protoreflect.Message
func (*ChamaFilter) Reset ¶
func (x *ChamaFilter) Reset()
func (*ChamaFilter) String ¶
func (x *ChamaFilter) String() string
type ChamaMember ¶
type ChamaMember struct { MemberId string `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` ChamaId string `protobuf:"bytes,2,opt,name=chama_id,json=chamaId,proto3" json:"chama_id,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"` IdNumber string `protobuf:"bytes,7,opt,name=id_number,json=idNumber,proto3" json:"id_number,omitempty"` Residence string `protobuf:"bytes,8,opt,name=residence,proto3" json:"residence,omitempty"` JobDetails map[string]string `` /* 179-byte string literal not displayed */ Kyc map[string]string `` /* 148-byte string literal not displayed */ Beneficiaries []*TrustPerson `protobuf:"bytes,11,rep,name=beneficiaries,proto3" json:"beneficiaries,omitempty"` Guarantees []*TrustPerson `protobuf:"bytes,12,rep,name=guarantees,proto3" json:"guarantees,omitempty"` Active bool `protobuf:"varint,13,opt,name=active,proto3" json:"active,omitempty"` Status string `protobuf:"bytes,14,opt,name=status,proto3" json:"status,omitempty"` UpdatedDate string `protobuf:"bytes,15,opt,name=updated_date,json=updatedDate,proto3" json:"updated_date,omitempty"` RegisterDate string `protobuf:"bytes,16,opt,name=register_date,json=registerDate,proto3" json:"register_date,omitempty"` // contains filtered or unexported fields }
func (*ChamaMember) Descriptor
deprecated
func (*ChamaMember) Descriptor() ([]byte, []int)
Deprecated: Use ChamaMember.ProtoReflect.Descriptor instead.
func (*ChamaMember) GetActive ¶
func (x *ChamaMember) GetActive() bool
func (*ChamaMember) GetBeneficiaries ¶
func (x *ChamaMember) GetBeneficiaries() []*TrustPerson
func (*ChamaMember) GetChamaId ¶
func (x *ChamaMember) GetChamaId() string
func (*ChamaMember) GetEmail ¶
func (x *ChamaMember) GetEmail() string
func (*ChamaMember) GetFirstName ¶
func (x *ChamaMember) GetFirstName() string
func (*ChamaMember) GetGuarantees ¶
func (x *ChamaMember) GetGuarantees() []*TrustPerson
func (*ChamaMember) GetIdNumber ¶
func (x *ChamaMember) GetIdNumber() string
func (*ChamaMember) GetJobDetails ¶
func (x *ChamaMember) GetJobDetails() map[string]string
func (*ChamaMember) GetKyc ¶
func (x *ChamaMember) GetKyc() map[string]string
func (*ChamaMember) GetLastName ¶
func (x *ChamaMember) GetLastName() string
func (*ChamaMember) GetMemberId ¶
func (x *ChamaMember) GetMemberId() string
func (*ChamaMember) GetPhone ¶
func (x *ChamaMember) GetPhone() string
func (*ChamaMember) GetRegisterDate ¶
func (x *ChamaMember) GetRegisterDate() string
func (*ChamaMember) GetResidence ¶
func (x *ChamaMember) GetResidence() string
func (*ChamaMember) GetStatus ¶
func (x *ChamaMember) GetStatus() string
func (*ChamaMember) GetUpdatedDate ¶
func (x *ChamaMember) GetUpdatedDate() string
func (*ChamaMember) ProtoMessage ¶
func (*ChamaMember) ProtoMessage()
func (*ChamaMember) ProtoReflect ¶
func (x *ChamaMember) ProtoReflect() protoreflect.Message
func (*ChamaMember) Reset ¶
func (x *ChamaMember) Reset()
func (*ChamaMember) String ¶
func (x *ChamaMember) String() string
type ChamaMemberAPIClient ¶
type ChamaMemberAPIClient interface { CreateChamaMember(ctx context.Context, in *CreateChamaMemberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateChamaMember(ctx context.Context, in *UpdateChamaMemberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteChamaMember(ctx context.Context, in *DeleteChamaMemberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListChamaMembers(ctx context.Context, in *ListChamaMembersRequest, opts ...grpc.CallOption) (*ListChamaMembersResponse, error) GetChamaMember(ctx context.Context, in *GetChamaMemberRequest, opts ...grpc.CallOption) (*ChamaMember, error) }
ChamaMemberAPIClient is the client API for ChamaMemberAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewChamaMemberAPIClient ¶
func NewChamaMemberAPIClient(cc grpc.ClientConnInterface) ChamaMemberAPIClient
type ChamaMemberAPIServer ¶
type ChamaMemberAPIServer interface { CreateChamaMember(context.Context, *CreateChamaMemberRequest) (*emptypb.Empty, error) UpdateChamaMember(context.Context, *UpdateChamaMemberRequest) (*emptypb.Empty, error) DeleteChamaMember(context.Context, *DeleteChamaMemberRequest) (*emptypb.Empty, error) ListChamaMembers(context.Context, *ListChamaMembersRequest) (*ListChamaMembersResponse, error) GetChamaMember(context.Context, *GetChamaMemberRequest) (*ChamaMember, error) // contains filtered or unexported methods }
ChamaMemberAPIServer is the server API for ChamaMemberAPI service. All implementations must embed UnimplementedChamaMemberAPIServer for forward compatibility
type ChamaMemberFilter ¶
type ChamaMemberFilter struct { ChamaIds []string `protobuf:"bytes,1,rep,name=chama_ids,json=chamaIds,proto3" json:"chama_ids,omitempty"` // contains filtered or unexported fields }
func (*ChamaMemberFilter) Descriptor
deprecated
func (*ChamaMemberFilter) Descriptor() ([]byte, []int)
Deprecated: Use ChamaMemberFilter.ProtoReflect.Descriptor instead.
func (*ChamaMemberFilter) GetChamaIds ¶
func (x *ChamaMemberFilter) GetChamaIds() []string
func (*ChamaMemberFilter) ProtoMessage ¶
func (*ChamaMemberFilter) ProtoMessage()
func (*ChamaMemberFilter) ProtoReflect ¶
func (x *ChamaMemberFilter) ProtoReflect() protoreflect.Message
func (*ChamaMemberFilter) Reset ¶
func (x *ChamaMemberFilter) Reset()
func (*ChamaMemberFilter) String ¶
func (x *ChamaMemberFilter) String() string
type CreateChamaMemberRequest ¶
type CreateChamaMemberRequest struct { ChamaMember *ChamaMember `protobuf:"bytes,1,opt,name=chama_member,json=chamaMember,proto3" json:"chama_member,omitempty"` // contains filtered or unexported fields }
func (*CreateChamaMemberRequest) Descriptor
deprecated
func (*CreateChamaMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChamaMemberRequest.ProtoReflect.Descriptor instead.
func (*CreateChamaMemberRequest) GetChamaMember ¶
func (x *CreateChamaMemberRequest) GetChamaMember() *ChamaMember
func (*CreateChamaMemberRequest) ProtoMessage ¶
func (*CreateChamaMemberRequest) ProtoMessage()
func (*CreateChamaMemberRequest) ProtoReflect ¶
func (x *CreateChamaMemberRequest) ProtoReflect() protoreflect.Message
func (*CreateChamaMemberRequest) Reset ¶
func (x *CreateChamaMemberRequest) Reset()
func (*CreateChamaMemberRequest) String ¶
func (x *CreateChamaMemberRequest) String() string
type CreateChamaRequest ¶
type CreateChamaRequest struct { Chama *Chama `protobuf:"bytes,1,opt,name=chama,proto3" json:"chama,omitempty"` // contains filtered or unexported fields }
func (*CreateChamaRequest) Descriptor
deprecated
func (*CreateChamaRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChamaRequest.ProtoReflect.Descriptor instead.
func (*CreateChamaRequest) GetChama ¶
func (x *CreateChamaRequest) GetChama() *Chama
func (*CreateChamaRequest) ProtoMessage ¶
func (*CreateChamaRequest) ProtoMessage()
func (*CreateChamaRequest) ProtoReflect ¶
func (x *CreateChamaRequest) ProtoReflect() protoreflect.Message
func (*CreateChamaRequest) Reset ¶
func (x *CreateChamaRequest) Reset()
func (*CreateChamaRequest) String ¶
func (x *CreateChamaRequest) String() string
type DeleteChamaMemberRequest ¶
type DeleteChamaMemberRequest struct { MemberId string `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteChamaMemberRequest) Descriptor
deprecated
func (*DeleteChamaMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChamaMemberRequest.ProtoReflect.Descriptor instead.
func (*DeleteChamaMemberRequest) GetMemberId ¶
func (x *DeleteChamaMemberRequest) GetMemberId() string
func (*DeleteChamaMemberRequest) ProtoMessage ¶
func (*DeleteChamaMemberRequest) ProtoMessage()
func (*DeleteChamaMemberRequest) ProtoReflect ¶
func (x *DeleteChamaMemberRequest) ProtoReflect() protoreflect.Message
func (*DeleteChamaMemberRequest) Reset ¶
func (x *DeleteChamaMemberRequest) Reset()
func (*DeleteChamaMemberRequest) String ¶
func (x *DeleteChamaMemberRequest) String() string
type GetChamaMemberRequest ¶
type GetChamaMemberRequest struct { MemberId string `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // contains filtered or unexported fields }
func (*GetChamaMemberRequest) Descriptor
deprecated
func (*GetChamaMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChamaMemberRequest.ProtoReflect.Descriptor instead.
func (*GetChamaMemberRequest) GetMemberId ¶
func (x *GetChamaMemberRequest) GetMemberId() string
func (*GetChamaMemberRequest) ProtoMessage ¶
func (*GetChamaMemberRequest) ProtoMessage()
func (*GetChamaMemberRequest) ProtoReflect ¶
func (x *GetChamaMemberRequest) ProtoReflect() protoreflect.Message
func (*GetChamaMemberRequest) Reset ¶
func (x *GetChamaMemberRequest) Reset()
func (*GetChamaMemberRequest) String ¶
func (x *GetChamaMemberRequest) String() string
type GetChamaRequest ¶
type GetChamaRequest struct { ChamaId string `protobuf:"bytes,1,opt,name=chama_id,json=chamaId,proto3" json:"chama_id,omitempty"` // contains filtered or unexported fields }
func (*GetChamaRequest) Descriptor
deprecated
func (*GetChamaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChamaRequest.ProtoReflect.Descriptor instead.
func (*GetChamaRequest) GetChamaId ¶
func (x *GetChamaRequest) GetChamaId() string
func (*GetChamaRequest) ProtoMessage ¶
func (*GetChamaRequest) ProtoMessage()
func (*GetChamaRequest) ProtoReflect ¶
func (x *GetChamaRequest) ProtoReflect() protoreflect.Message
func (*GetChamaRequest) Reset ¶
func (x *GetChamaRequest) Reset()
func (*GetChamaRequest) String ¶
func (x *GetChamaRequest) String() string
type ListChamaMembersRequest ¶
type ListChamaMembersRequest struct { Filter *ChamaMemberFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListChamaMembersRequest) Descriptor
deprecated
func (*ListChamaMembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChamaMembersRequest.ProtoReflect.Descriptor instead.
func (*ListChamaMembersRequest) GetFilter ¶
func (x *ListChamaMembersRequest) GetFilter() *ChamaMemberFilter
func (*ListChamaMembersRequest) GetPageSize ¶
func (x *ListChamaMembersRequest) GetPageSize() int32
func (*ListChamaMembersRequest) GetPageToken ¶
func (x *ListChamaMembersRequest) GetPageToken() string
func (*ListChamaMembersRequest) ProtoMessage ¶
func (*ListChamaMembersRequest) ProtoMessage()
func (*ListChamaMembersRequest) ProtoReflect ¶
func (x *ListChamaMembersRequest) ProtoReflect() protoreflect.Message
func (*ListChamaMembersRequest) Reset ¶
func (x *ListChamaMembersRequest) Reset()
func (*ListChamaMembersRequest) String ¶
func (x *ListChamaMembersRequest) String() string
type ListChamaMembersResponse ¶
type ListChamaMembersResponse struct { ChamaMembers []*ChamaMember `protobuf:"bytes,1,rep,name=chama_members,json=chamaMembers,proto3" json:"chama_members,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListChamaMembersResponse) Descriptor
deprecated
func (*ListChamaMembersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChamaMembersResponse.ProtoReflect.Descriptor instead.
func (*ListChamaMembersResponse) GetChamaMembers ¶
func (x *ListChamaMembersResponse) GetChamaMembers() []*ChamaMember
func (*ListChamaMembersResponse) GetNextPageToken ¶
func (x *ListChamaMembersResponse) GetNextPageToken() string
func (*ListChamaMembersResponse) ProtoMessage ¶
func (*ListChamaMembersResponse) ProtoMessage()
func (*ListChamaMembersResponse) ProtoReflect ¶
func (x *ListChamaMembersResponse) ProtoReflect() protoreflect.Message
func (*ListChamaMembersResponse) Reset ¶
func (x *ListChamaMembersResponse) Reset()
func (*ListChamaMembersResponse) String ¶
func (x *ListChamaMembersResponse) String() string
type ListChamasRequest ¶
type ListChamasRequest struct { Filter *ChamaFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListChamasRequest) Descriptor
deprecated
func (*ListChamasRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChamasRequest.ProtoReflect.Descriptor instead.
func (*ListChamasRequest) GetFilter ¶
func (x *ListChamasRequest) GetFilter() *ChamaFilter
func (*ListChamasRequest) GetPageSize ¶
func (x *ListChamasRequest) GetPageSize() int32
func (*ListChamasRequest) GetPageToken ¶
func (x *ListChamasRequest) GetPageToken() string
func (*ListChamasRequest) ProtoMessage ¶
func (*ListChamasRequest) ProtoMessage()
func (*ListChamasRequest) ProtoReflect ¶
func (x *ListChamasRequest) ProtoReflect() protoreflect.Message
func (*ListChamasRequest) Reset ¶
func (x *ListChamasRequest) Reset()
func (*ListChamasRequest) String ¶
func (x *ListChamasRequest) String() string
type ListChamasResponse ¶
type ListChamasResponse struct { Chamas []*Chama `protobuf:"bytes,1,rep,name=chamas,proto3" json:"chamas,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListChamasResponse) Descriptor
deprecated
func (*ListChamasResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChamasResponse.ProtoReflect.Descriptor instead.
func (*ListChamasResponse) GetChamas ¶
func (x *ListChamasResponse) GetChamas() []*Chama
func (*ListChamasResponse) GetNextPageToken ¶
func (x *ListChamasResponse) GetNextPageToken() string
func (*ListChamasResponse) ProtoMessage ¶
func (*ListChamasResponse) ProtoMessage()
func (*ListChamasResponse) ProtoReflect ¶
func (x *ListChamasResponse) ProtoReflect() protoreflect.Message
func (*ListChamasResponse) Reset ¶
func (x *ListChamasResponse) Reset()
func (*ListChamasResponse) String ¶
func (x *ListChamasResponse) String() string
type TrustPerson ¶
type TrustPerson struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // contains filtered or unexported fields }
func (*TrustPerson) Descriptor
deprecated
func (*TrustPerson) Descriptor() ([]byte, []int)
Deprecated: Use TrustPerson.ProtoReflect.Descriptor instead.
func (*TrustPerson) GetEmail ¶
func (x *TrustPerson) GetEmail() string
func (*TrustPerson) GetName ¶
func (x *TrustPerson) GetName() string
func (*TrustPerson) GetPhone ¶
func (x *TrustPerson) GetPhone() string
func (*TrustPerson) ProtoMessage ¶
func (*TrustPerson) ProtoMessage()
func (*TrustPerson) ProtoReflect ¶
func (x *TrustPerson) ProtoReflect() protoreflect.Message
func (*TrustPerson) Reset ¶
func (x *TrustPerson) Reset()
func (*TrustPerson) String ¶
func (x *TrustPerson) String() string
type UnimplementedChamaAPIServer ¶
type UnimplementedChamaAPIServer struct { }
UnimplementedChamaAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedChamaAPIServer) CreateChama ¶
func (UnimplementedChamaAPIServer) CreateChama(context.Context, *CreateChamaRequest) (*emptypb.Empty, error)
func (UnimplementedChamaAPIServer) GetChama ¶
func (UnimplementedChamaAPIServer) GetChama(context.Context, *GetChamaRequest) (*Chama, error)
func (UnimplementedChamaAPIServer) ListChamas ¶
func (UnimplementedChamaAPIServer) ListChamas(context.Context, *ListChamasRequest) (*ListChamasResponse, error)
func (UnimplementedChamaAPIServer) UpdateChama ¶
func (UnimplementedChamaAPIServer) UpdateChama(context.Context, *UpdateChamaRequest) (*emptypb.Empty, error)
type UnimplementedChamaMemberAPIServer ¶
type UnimplementedChamaMemberAPIServer struct { }
UnimplementedChamaMemberAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedChamaMemberAPIServer) CreateChamaMember ¶
func (UnimplementedChamaMemberAPIServer) CreateChamaMember(context.Context, *CreateChamaMemberRequest) (*emptypb.Empty, error)
func (UnimplementedChamaMemberAPIServer) DeleteChamaMember ¶
func (UnimplementedChamaMemberAPIServer) DeleteChamaMember(context.Context, *DeleteChamaMemberRequest) (*emptypb.Empty, error)
func (UnimplementedChamaMemberAPIServer) GetChamaMember ¶
func (UnimplementedChamaMemberAPIServer) GetChamaMember(context.Context, *GetChamaMemberRequest) (*ChamaMember, error)
func (UnimplementedChamaMemberAPIServer) ListChamaMembers ¶
func (UnimplementedChamaMemberAPIServer) ListChamaMembers(context.Context, *ListChamaMembersRequest) (*ListChamaMembersResponse, error)
func (UnimplementedChamaMemberAPIServer) UpdateChamaMember ¶
func (UnimplementedChamaMemberAPIServer) UpdateChamaMember(context.Context, *UpdateChamaMemberRequest) (*emptypb.Empty, error)
type UnsafeChamaAPIServer ¶
type UnsafeChamaAPIServer interface {
// contains filtered or unexported methods
}
UnsafeChamaAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChamaAPIServer will result in compilation errors.
type UnsafeChamaMemberAPIServer ¶
type UnsafeChamaMemberAPIServer interface {
// contains filtered or unexported methods
}
UnsafeChamaMemberAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChamaMemberAPIServer will result in compilation errors.
type UpdateChamaMemberRequest ¶
type UpdateChamaMemberRequest struct { ChamaMember *ChamaMember `protobuf:"bytes,1,opt,name=chama_member,json=chamaMember,proto3" json:"chama_member,omitempty"` // contains filtered or unexported fields }
func (*UpdateChamaMemberRequest) Descriptor
deprecated
func (*UpdateChamaMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChamaMemberRequest.ProtoReflect.Descriptor instead.
func (*UpdateChamaMemberRequest) GetChamaMember ¶
func (x *UpdateChamaMemberRequest) GetChamaMember() *ChamaMember
func (*UpdateChamaMemberRequest) ProtoMessage ¶
func (*UpdateChamaMemberRequest) ProtoMessage()
func (*UpdateChamaMemberRequest) ProtoReflect ¶
func (x *UpdateChamaMemberRequest) ProtoReflect() protoreflect.Message
func (*UpdateChamaMemberRequest) Reset ¶
func (x *UpdateChamaMemberRequest) Reset()
func (*UpdateChamaMemberRequest) String ¶
func (x *UpdateChamaMemberRequest) String() string
type UpdateChamaRequest ¶
type UpdateChamaRequest struct { Chama *Chama `protobuf:"bytes,1,opt,name=chama,proto3" json:"chama,omitempty"` // contains filtered or unexported fields }
func (*UpdateChamaRequest) Descriptor
deprecated
func (*UpdateChamaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChamaRequest.ProtoReflect.Descriptor instead.
func (*UpdateChamaRequest) GetChama ¶
func (x *UpdateChamaRequest) GetChama() *Chama
func (*UpdateChamaRequest) ProtoMessage ¶
func (*UpdateChamaRequest) ProtoMessage()
func (*UpdateChamaRequest) ProtoReflect ¶
func (x *UpdateChamaRequest) ProtoReflect() protoreflect.Message
func (*UpdateChamaRequest) Reset ¶
func (x *UpdateChamaRequest) Reset()
func (*UpdateChamaRequest) String ¶
func (x *UpdateChamaRequest) String() string