Documentation ¶
Index ¶
- func ProvideRemoteSetup(handler *Handler) func(server *grpc.Server)
- type Handler
- func (h *Handler) AddReferences(ctx context.Context, input *proto.ReferenceInput) (resp *proto.ReferenceResponse, err error)
- func (h *Handler) CountReferences(ctx context.Context, filter *proto.ReferenceFilter) (resp *proto.ReferenceResponse, err error)
- func (h *Handler) DeleteReferences(ctx context.Context, filter *proto.ReferenceFilter) (resp *proto.ReferenceResponse, err error)
- func (h *Handler) EditReferences(ctx context.Context, input *proto.ReferenceInput) (resp *proto.ReferenceResponse, err error)
- func (h *Handler) GetReferences(ctx context.Context, filter *proto.ReferenceFilter) (resp *proto.ReferenceResponse, err error)
- func (h *Handler) ProvideAccessRoles() meta.AccessConfig
- func (h *Handler) ProvideAuthKey() *rsa.PublicKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(service service.SneakerReferenceService, auth core.AuthService) *Handler
func (*Handler) AddReferences ¶
func (h *Handler) AddReferences(ctx context.Context, input *proto.ReferenceInput) (resp *proto.ReferenceResponse, err error)
func (*Handler) CountReferences ¶
func (h *Handler) CountReferences(ctx context.Context, filter *proto.ReferenceFilter) (resp *proto.ReferenceResponse, err error)
func (*Handler) DeleteReferences ¶
func (h *Handler) DeleteReferences(ctx context.Context, filter *proto.ReferenceFilter) (resp *proto.ReferenceResponse, err error)
func (*Handler) EditReferences ¶
func (h *Handler) EditReferences(ctx context.Context, input *proto.ReferenceInput) (resp *proto.ReferenceResponse, err error)
func (*Handler) GetReferences ¶
func (h *Handler) GetReferences(ctx context.Context, filter *proto.ReferenceFilter) (resp *proto.ReferenceResponse, err error)
func (*Handler) ProvideAccessRoles ¶
func (h *Handler) ProvideAccessRoles() meta.AccessConfig
Click to show internal directories.
Click to hide internal directories.