gRPC

package
v0.0.0-...-4a3359c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideRemoteSetup

func ProvideRemoteSetup(handler *Handler) func(server *grpc.Server)

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

func (*Handler) ProvideAuthKey

func (h *Handler) ProvideAuthKey() *rsa.PublicKey

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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