resourcepb

package
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_protobuf_spec_connection_resource_v1_proto protoreflect.FileDescriptor

Functions

func RegisterResourceServiceServer added in v0.8.1

func RegisterResourceServiceServer(s *grpc.Server, srv ResourceServiceServer)

Types

type ConnectUserInterestsRequests

type ConnectUserInterestsRequests struct {
	UserId      string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	InterestsId []string `protobuf:"bytes,2,rep,name=interests_id,json=interestsId,proto3" json:"interests_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectUserInterestsRequests) Descriptor deprecated

func (*ConnectUserInterestsRequests) Descriptor() ([]byte, []int)

Deprecated: Use ConnectUserInterestsRequests.ProtoReflect.Descriptor instead.

func (*ConnectUserInterestsRequests) GetInterestsId

func (x *ConnectUserInterestsRequests) GetInterestsId() []string

func (*ConnectUserInterestsRequests) GetUserId

func (x *ConnectUserInterestsRequests) GetUserId() string

func (*ConnectUserInterestsRequests) ProtoMessage

func (*ConnectUserInterestsRequests) ProtoMessage()

func (*ConnectUserInterestsRequests) ProtoReflect

func (*ConnectUserInterestsRequests) Reset

func (x *ConnectUserInterestsRequests) Reset()

func (*ConnectUserInterestsRequests) String

type ConnectUserOfferServicesRequests

type ConnectUserOfferServicesRequests struct {
	UserId     string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ServicesId []string `protobuf:"bytes,2,rep,name=services_id,json=servicesId,proto3" json:"services_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectUserOfferServicesRequests) Descriptor deprecated

func (*ConnectUserOfferServicesRequests) Descriptor() ([]byte, []int)

Deprecated: Use ConnectUserOfferServicesRequests.ProtoReflect.Descriptor instead.

func (*ConnectUserOfferServicesRequests) GetServicesId

func (x *ConnectUserOfferServicesRequests) GetServicesId() []string

func (*ConnectUserOfferServicesRequests) GetUserId

func (*ConnectUserOfferServicesRequests) ProtoMessage

func (*ConnectUserOfferServicesRequests) ProtoMessage()

func (*ConnectUserOfferServicesRequests) ProtoReflect

func (*ConnectUserOfferServicesRequests) Reset

func (*ConnectUserOfferServicesRequests) String

type ConnectUserRequestedServicesRequests

type ConnectUserRequestedServicesRequests struct {
	UserId     string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ServicesId []string `protobuf:"bytes,2,rep,name=services_id,json=servicesId,proto3" json:"services_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectUserRequestedServicesRequests) Descriptor deprecated

func (*ConnectUserRequestedServicesRequests) Descriptor() ([]byte, []int)

Deprecated: Use ConnectUserRequestedServicesRequests.ProtoReflect.Descriptor instead.

func (*ConnectUserRequestedServicesRequests) GetServicesId

func (x *ConnectUserRequestedServicesRequests) GetServicesId() []string

func (*ConnectUserRequestedServicesRequests) GetUserId

func (*ConnectUserRequestedServicesRequests) ProtoMessage

func (*ConnectUserRequestedServicesRequests) ProtoMessage()

func (*ConnectUserRequestedServicesRequests) ProtoReflect

func (*ConnectUserRequestedServicesRequests) Reset

func (*ConnectUserRequestedServicesRequests) String

type GetAllInterestsResponse

type GetAllInterestsResponse struct {
	InterestsId []string `protobuf:"bytes,1,rep,name=interests_id,json=interestsId,proto3" json:"interests_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllInterestsResponse) Descriptor deprecated

func (*GetAllInterestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAllInterestsResponse.ProtoReflect.Descriptor instead.

func (*GetAllInterestsResponse) GetInterestsId

func (x *GetAllInterestsResponse) GetInterestsId() []string

func (*GetAllInterestsResponse) ProtoMessage

func (*GetAllInterestsResponse) ProtoMessage()

func (*GetAllInterestsResponse) ProtoReflect

func (x *GetAllInterestsResponse) ProtoReflect() protoreflect.Message

func (*GetAllInterestsResponse) Reset

func (x *GetAllInterestsResponse) Reset()

func (*GetAllInterestsResponse) String

func (x *GetAllInterestsResponse) String() string

type GetAllServicesResponse

type GetAllServicesResponse struct {
	ServicesId []string `protobuf:"bytes,1,rep,name=services_id,json=servicesId,proto3" json:"services_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllServicesResponse) Descriptor deprecated

func (*GetAllServicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAllServicesResponse.ProtoReflect.Descriptor instead.

func (*GetAllServicesResponse) GetServicesId

func (x *GetAllServicesResponse) GetServicesId() []string

func (*GetAllServicesResponse) ProtoMessage

func (*GetAllServicesResponse) ProtoMessage()

func (*GetAllServicesResponse) ProtoReflect

func (x *GetAllServicesResponse) ProtoReflect() protoreflect.Message

func (*GetAllServicesResponse) Reset

func (x *GetAllServicesResponse) Reset()

func (*GetAllServicesResponse) String

func (x *GetAllServicesResponse) String() string

type GetInterestsRequests

type GetInterestsRequests struct {
	InterestsId []string `protobuf:"bytes,1,rep,name=interests_id,json=interestsId,proto3" json:"interests_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInterestsRequests) Descriptor deprecated

func (*GetInterestsRequests) Descriptor() ([]byte, []int)

Deprecated: Use GetInterestsRequests.ProtoReflect.Descriptor instead.

func (*GetInterestsRequests) GetInterestsId

func (x *GetInterestsRequests) GetInterestsId() []string

func (*GetInterestsRequests) ProtoMessage

func (*GetInterestsRequests) ProtoMessage()

func (*GetInterestsRequests) ProtoReflect

func (x *GetInterestsRequests) ProtoReflect() protoreflect.Message

func (*GetInterestsRequests) Reset

func (x *GetInterestsRequests) Reset()

func (*GetInterestsRequests) String

func (x *GetInterestsRequests) String() string

type GetInterestsResponse

type GetInterestsResponse struct {
	Interests []*Interest `protobuf:"bytes,1,rep,name=interests,proto3" json:"interests,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInterestsResponse) Descriptor deprecated

func (*GetInterestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetInterestsResponse.ProtoReflect.Descriptor instead.

func (*GetInterestsResponse) GetInterests

func (x *GetInterestsResponse) GetInterests() []*Interest

func (*GetInterestsResponse) ProtoMessage

func (*GetInterestsResponse) ProtoMessage()

func (*GetInterestsResponse) ProtoReflect

func (x *GetInterestsResponse) ProtoReflect() protoreflect.Message

func (*GetInterestsResponse) Reset

func (x *GetInterestsResponse) Reset()

func (*GetInterestsResponse) String

func (x *GetInterestsResponse) String() string

type GetServicesRequests

type GetServicesRequests struct {
	ServicesId []string `protobuf:"bytes,1,rep,name=services_id,json=servicesId,proto3" json:"services_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServicesRequests) Descriptor deprecated

func (*GetServicesRequests) Descriptor() ([]byte, []int)

Deprecated: Use GetServicesRequests.ProtoReflect.Descriptor instead.

func (*GetServicesRequests) GetServicesId

func (x *GetServicesRequests) GetServicesId() []string

func (*GetServicesRequests) ProtoMessage

func (*GetServicesRequests) ProtoMessage()

func (*GetServicesRequests) ProtoReflect

func (x *GetServicesRequests) ProtoReflect() protoreflect.Message

func (*GetServicesRequests) Reset

func (x *GetServicesRequests) Reset()

func (*GetServicesRequests) String

func (x *GetServicesRequests) String() string

type GetServicesResponse

type GetServicesResponse struct {
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServicesResponse) Descriptor deprecated

func (*GetServicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetServicesResponse.ProtoReflect.Descriptor instead.

func (*GetServicesResponse) GetServices

func (x *GetServicesResponse) GetServices() []*Service

func (*GetServicesResponse) ProtoMessage

func (*GetServicesResponse) ProtoMessage()

func (*GetServicesResponse) ProtoReflect

func (x *GetServicesResponse) ProtoReflect() protoreflect.Message

func (*GetServicesResponse) Reset

func (x *GetServicesResponse) Reset()

func (*GetServicesResponse) String

func (x *GetServicesResponse) String() string

type GetUserInterestsRequests

type GetUserInterestsRequests struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInterestsRequests) Descriptor deprecated

func (*GetUserInterestsRequests) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInterestsRequests.ProtoReflect.Descriptor instead.

func (*GetUserInterestsRequests) GetUserId

func (x *GetUserInterestsRequests) GetUserId() string

func (*GetUserInterestsRequests) ProtoMessage

func (*GetUserInterestsRequests) ProtoMessage()

func (*GetUserInterestsRequests) ProtoReflect

func (x *GetUserInterestsRequests) ProtoReflect() protoreflect.Message

func (*GetUserInterestsRequests) Reset

func (x *GetUserInterestsRequests) Reset()

func (*GetUserInterestsRequests) String

func (x *GetUserInterestsRequests) String() string

type GetUserInterestsResponse

type GetUserInterestsResponse struct {
	InterestsId []string `protobuf:"bytes,1,rep,name=interests_id,json=interestsId,proto3" json:"interests_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInterestsResponse) Descriptor deprecated

func (*GetUserInterestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInterestsResponse.ProtoReflect.Descriptor instead.

func (*GetUserInterestsResponse) GetInterestsId

func (x *GetUserInterestsResponse) GetInterestsId() []string

func (*GetUserInterestsResponse) ProtoMessage

func (*GetUserInterestsResponse) ProtoMessage()

func (*GetUserInterestsResponse) ProtoReflect

func (x *GetUserInterestsResponse) ProtoReflect() protoreflect.Message

func (*GetUserInterestsResponse) Reset

func (x *GetUserInterestsResponse) Reset()

func (*GetUserInterestsResponse) String

func (x *GetUserInterestsResponse) String() string

type Interest

type Interest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
	Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"`
	Id    string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Interest) Descriptor deprecated

func (*Interest) Descriptor() ([]byte, []int)

Deprecated: Use Interest.ProtoReflect.Descriptor instead.

func (*Interest) GetColor

func (x *Interest) GetColor() string

func (*Interest) GetEmoji

func (x *Interest) GetEmoji() string

func (*Interest) GetId added in v0.8.2

func (x *Interest) GetId() string

func (*Interest) GetName

func (x *Interest) GetName() string

func (*Interest) ProtoMessage

func (*Interest) ProtoMessage()

func (*Interest) ProtoReflect

func (x *Interest) ProtoReflect() protoreflect.Message

func (*Interest) Reset

func (x *Interest) Reset()

func (*Interest) String

func (x *Interest) String() string

type ResourceServiceClient added in v0.8.1

type ResourceServiceClient interface {
	GetInterests(ctx context.Context, in *GetInterestsRequests, opts ...grpc.CallOption) (*GetInterestsResponse, error)
	GetAllInterests(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetAllInterestsResponse, error)
	GetUserInterests(ctx context.Context, in *GetUserInterestsRequests, opts ...grpc.CallOption) (*GetUserInterestsResponse, error)
	ConnectUserInterests(ctx context.Context, in *ConnectUserInterestsRequests, opts ...grpc.CallOption) (*empty.Empty, error)
	GetServices(ctx context.Context, in *GetServicesRequests, opts ...grpc.CallOption) (*GetServicesResponse, error)
	GetAllServices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetAllServicesResponse, error)
	GetUserOfferServices(ctx context.Context, in *UserOfferServicesRequests, opts ...grpc.CallOption) (*UserOfferServicesResponse, error)
	GetUserRequestedServices(ctx context.Context, in *UserRequestedServicesRequests, opts ...grpc.CallOption) (*UserRequestedServicesResponse, error)
	ConnectUserOfferServices(ctx context.Context, in *ConnectUserOfferServicesRequests, opts ...grpc.CallOption) (*empty.Empty, error)
	ConnectUserRequestedServices(ctx context.Context, in *ConnectUserRequestedServicesRequests, opts ...grpc.CallOption) (*empty.Empty, error)
}

ResourceServiceClient is the client API for ResourceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewResourceServiceClient added in v0.8.1

func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient

type ResourceServiceServer added in v0.8.1

ResourceServiceServer is the server API for ResourceService service.

type Service

type Service struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
	Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"`
	Id    string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

func (*Service) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetColor

func (x *Service) GetColor() string

func (*Service) GetEmoji

func (x *Service) GetEmoji() string

func (*Service) GetId added in v0.8.2

func (x *Service) GetId() string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

func (x *Service) ProtoReflect() protoreflect.Message

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type UnimplementedResourceServiceServer added in v0.8.1

type UnimplementedResourceServiceServer struct {
}

UnimplementedResourceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedResourceServiceServer) ConnectUserInterests added in v0.8.1

func (*UnimplementedResourceServiceServer) ConnectUserOfferServices added in v0.8.1

func (*UnimplementedResourceServiceServer) ConnectUserRequestedServices added in v0.8.1

func (*UnimplementedResourceServiceServer) GetAllInterests added in v0.8.1

func (*UnimplementedResourceServiceServer) GetAllServices added in v0.8.1

func (*UnimplementedResourceServiceServer) GetInterests added in v0.8.1

func (*UnimplementedResourceServiceServer) GetServices added in v0.8.1

func (*UnimplementedResourceServiceServer) GetUserInterests added in v0.8.1

func (*UnimplementedResourceServiceServer) GetUserOfferServices added in v0.8.1

func (*UnimplementedResourceServiceServer) GetUserRequestedServices added in v0.8.1

type UserOfferServicesRequests

type UserOfferServicesRequests struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserOfferServicesRequests) Descriptor deprecated

func (*UserOfferServicesRequests) Descriptor() ([]byte, []int)

Deprecated: Use UserOfferServicesRequests.ProtoReflect.Descriptor instead.

func (*UserOfferServicesRequests) GetUserId

func (x *UserOfferServicesRequests) GetUserId() string

func (*UserOfferServicesRequests) ProtoMessage

func (*UserOfferServicesRequests) ProtoMessage()

func (*UserOfferServicesRequests) ProtoReflect

func (*UserOfferServicesRequests) Reset

func (x *UserOfferServicesRequests) Reset()

func (*UserOfferServicesRequests) String

func (x *UserOfferServicesRequests) String() string

type UserOfferServicesResponse

type UserOfferServicesResponse struct {
	ServicesId []string `protobuf:"bytes,1,rep,name=services_id,json=servicesId,proto3" json:"services_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserOfferServicesResponse) Descriptor deprecated

func (*UserOfferServicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserOfferServicesResponse.ProtoReflect.Descriptor instead.

func (*UserOfferServicesResponse) GetServicesId

func (x *UserOfferServicesResponse) GetServicesId() []string

func (*UserOfferServicesResponse) ProtoMessage

func (*UserOfferServicesResponse) ProtoMessage()

func (*UserOfferServicesResponse) ProtoReflect

func (*UserOfferServicesResponse) Reset

func (x *UserOfferServicesResponse) Reset()

func (*UserOfferServicesResponse) String

func (x *UserOfferServicesResponse) String() string

type UserRequestedServicesRequests

type UserRequestedServicesRequests struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRequestedServicesRequests) Descriptor deprecated

func (*UserRequestedServicesRequests) Descriptor() ([]byte, []int)

Deprecated: Use UserRequestedServicesRequests.ProtoReflect.Descriptor instead.

func (*UserRequestedServicesRequests) GetUserId

func (x *UserRequestedServicesRequests) GetUserId() string

func (*UserRequestedServicesRequests) ProtoMessage

func (*UserRequestedServicesRequests) ProtoMessage()

func (*UserRequestedServicesRequests) ProtoReflect

func (*UserRequestedServicesRequests) Reset

func (x *UserRequestedServicesRequests) Reset()

func (*UserRequestedServicesRequests) String

type UserRequestedServicesResponse

type UserRequestedServicesResponse struct {
	ServicesId []string `protobuf:"bytes,1,rep,name=services_id,json=servicesId,proto3" json:"services_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRequestedServicesResponse) Descriptor deprecated

func (*UserRequestedServicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserRequestedServicesResponse.ProtoReflect.Descriptor instead.

func (*UserRequestedServicesResponse) GetServicesId

func (x *UserRequestedServicesResponse) GetServicesId() []string

func (*UserRequestedServicesResponse) ProtoMessage

func (*UserRequestedServicesResponse) ProtoMessage()

func (*UserRequestedServicesResponse) ProtoReflect

func (*UserRequestedServicesResponse) Reset

func (x *UserRequestedServicesResponse) Reset()

func (*UserRequestedServicesResponse) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL