servers

package
v0.0.0-alpha8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStatus

func GetStatus(err error) codes.Code

GetStatus -

Types

type HealthServer

type HealthServer struct {
	health.UnimplementedHealthServer
}

HealthServer -

func NewHealthServer

func NewHealthServer() *HealthServer

NewHealthServer -

func (*HealthServer) Check

Check -

func (*HealthServer) Watch

Watch -

type PermissionServer

type PermissionServer struct {
	v1.UnimplementedPermissionAPIServer
	// contains filtered or unexported fields
}

PermissionServer -

func NewPermissionServer

func NewPermissionServer(p services.IPermissionService, l logger.Interface) *PermissionServer

NewPermissionServer -

func (*PermissionServer) Check

func (r *PermissionServer) Check(ctx context.Context, request *v1.CheckRequest) (*v1.CheckResponse, error)

Check -

func (*PermissionServer) Expand

func (r *PermissionServer) Expand(ctx context.Context, request *v1.ExpandRequest) (*v1.ExpandResponse, error)

Expand -

func (*PermissionServer) LookupQuery

LookupQuery -

type RelationshipServer

type RelationshipServer struct {
	v1.UnimplementedRelationshipAPIServer
	// contains filtered or unexported fields
}

RelationshipServer -

func NewRelationshipServer

NewRelationshipServer -

func (*RelationshipServer) Delete

Delete -

func (*RelationshipServer) Read

Read -

func (*RelationshipServer) Write

Write -

type SchemaServer

type SchemaServer struct {
	v1.UnimplementedSchemaAPIServer
	// contains filtered or unexported fields
}

SchemaServer -

func NewSchemaServer

NewSchemaServer -

func (*SchemaServer) Read

Write -

func (*SchemaServer) Write

Write -

type ServiceContainer

type ServiceContainer struct {
	RelationshipService services.IRelationshipService
	PermissionService   services.IPermissionService
	SchemaService       services.ISchemaService
	SchemaManager       managers.IEntityConfigManager
}

ServiceContainer -

func (*ServiceContainer) Run

func (s *ServiceContainer) Run(ctx context.Context, cfg *config.Server, authentication *config.Authn, l *logger.Logger) error

Run -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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