controllers

package
v0.0.0-...-cfff90c Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CustomerService interfaces.Customer
)

Functions

This section is empty.

Types

type RPCServer

type RPCServer struct {
	pro.UnimplementedGoTaskServiceServer
}

func (*RPCServer) CreateCustomer

func (s *RPCServer) CreateCustomer(ctx context.Context, req *pro.CustomerDetails) (*pro.CustomerResponse, error)

func (*RPCServer) CreateTask

func (s *RPCServer) CreateTask(ctx context.Context, req *pro.TaskDetails) (*pro.TaskResponse, error)

func (*RPCServer) DeleteTask

func (s *RPCServer) DeleteTask(ctx context.Context, req *pro.TaskDelete) (*pro.Empty, error)

func (*RPCServer) EditTask

func (s *RPCServer) EditTask(ctx context.Context, req *pro.EditTaskDetails) (*pro.TaskResponse, error)

func (*RPCServer) GetTask

func (s *RPCServer) GetTask(ctx context.Context, req *pro.TaskDelete) (*pro.GetTasksResponse, error)

func (*RPCServer) GetTaskbyId

func (s *RPCServer) GetTaskbyId(ctx context.Context, req *pro.TaskDelete) (*pro.TaskDetails, error)

func (*RPCServer) InsertToken

func (s *RPCServer) InsertToken(ctx context.Context, req *pro.Token) (*pro.TokenResponse, error)

Jump to

Keyboard shortcuts

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