grpc

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcServer

type GrpcServer struct {
	// contains filtered or unexported fields
}

GrpcServer is the implementation to handle gRPC requests to the app

func NewGrpcServer

func NewGrpcServer(app *application.Application) *GrpcServer

NewGrpcServer creates a new instance of GrpcServer

func (*GrpcServer) CreateRecord added in v1.3.0

CreateRecord creates a new record in the data store related to an entity

func (*GrpcServer) DeleteRecord added in v1.7.0

func (gs *GrpcServer) DeleteRecord(
	ctx context.Context,
	req *shikamarupb.DeleteRecordRequest,
) (*emptypb.Empty, error)

DeleteRecord deletes a record in the data store related to an entity

func (*GrpcServer) GetEntity

GetEntity gets a entity according to its name

func (*GrpcServer) GetRecord added in v1.5.0

GetRecord gets a record from the data store related to an entity

func (*GrpcServer) ListRecords added in v1.9.0

ListRecords gets a record list from the data store related to an entity

func (*GrpcServer) UpdateRecord added in v1.6.0

UpdateRecord updates a record in the data store related to an entity

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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