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) CreateEntity ¶
func (gs *GrpcServer) CreateEntity(ctx context.Context, req *shikamarupb.CreateEntityRequest) (*shikamarupb.CreateEntityResponse, error)
CreateEntity creates an entity with fields and rules
func (*GrpcServer) CreateRecord ¶ added in v1.3.0
func (gs *GrpcServer) CreateRecord( ctx context.Context, req *shikamarupb.CreateRecordRequest, ) (*shikamarupb.CreateRecordResponse, error)
CreateRecord creates a new record in the data store related to an entity
Source Files
¶
Click to show internal directories.
Click to hide internal directories.