grpc

package
v0.0.0-...-94c15f5 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

func NewServer

func NewServer() *Server

func (*Server) Authenticate

func (v *Server) Authenticate(_ context.Context, in *proto.AuthRequest) (*proto.AuthReply, error)

func (*Server) Check

func (*Server) CheckRealmMemberPerm

func (v *Server) CheckRealmMemberPerm(ctx context.Context, request *proto.CheckRealmPermRequest) (*proto.CheckRealmPermResponse, error)

func (*Server) EmitStreamEvent

func (v *Server) EmitStreamEvent(ctx context.Context, request *proto.StreamEventRequest) (*proto.StreamEventResponse, error)

func (*Server) EnsurePermGranted

func (v *Server) EnsurePermGranted(_ context.Context, in *proto.CheckPermRequest) (*proto.CheckPermResponse, error)

func (*Server) EnsureUserPermGranted

func (v *Server) EnsureUserPermGranted(_ context.Context, in *proto.CheckUserPermRequest) (*proto.CheckUserPermResponse, error)

func (*Server) GetRealm

func (v *Server) GetRealm(ctx context.Context, request *proto.LookupRealmRequest) (*proto.RealmInfo, error)

func (*Server) GetRealmMember

func (v *Server) GetRealmMember(ctx context.Context, request *proto.RealmMemberLookupRequest) (*proto.RealmMemberInfo, error)

func (*Server) ListAvailableRealm

func (v *Server) ListAvailableRealm(ctx context.Context, request *proto.LookupUserRealmRequest) (*proto.ListRealmResponse, error)

func (*Server) ListCommunityRealm

func (v *Server) ListCommunityRealm(ctx context.Context, empty *proto.ListRealmRequest) (*proto.ListRealmResponse, error)

func (*Server) ListOwnedRealm

func (v *Server) ListOwnedRealm(ctx context.Context, request *proto.LookupUserRealmRequest) (*proto.ListRealmResponse, error)

func (*Server) ListRealmMember

func (*Server) Listen

func (v *Server) Listen() error

func (*Server) NotifyAllUser

func (v *Server) NotifyAllUser(_ context.Context, in *proto.NotifyRequest) (*proto.NotifyResponse, error)

func (*Server) NotifyUser

func (*Server) NotifyUserBatch

func (*Server) Watch

func (v *Server) Watch(request *health.HealthCheckRequest, server health.Health_WatchServer) error

Jump to

Keyboard shortcuts

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