Documentation ¶
Index ¶
- Variables
- func ValidateToken(ctx context.Context, req interface{}, grpc *grpc.UnaryServerInfo, ...) (interface{}, error)
- type MilpacsService
- func (server *MilpacsService) GetProfile(ctx context.Context, request *proto.ProfileRequest) (*proto.Profile, error)
- func (server *MilpacsService) GetRoster(ctx context.Context, request *proto.RosterRequest) (*proto.Roster, error)
- func (server *MilpacsService) GetUserViaKeycloakId(ctx context.Context, request *proto.KeycloakIdRequest) (*proto.Profile, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ValidateToken ¶
func ValidateToken(ctx context.Context, req interface{}, grpc *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Types ¶
type MilpacsService ¶
type MilpacsService struct {
Datastore datastores.Datastore
}
func (*MilpacsService) GetProfile ¶
func (server *MilpacsService) GetProfile(ctx context.Context, request *proto.ProfileRequest) (*proto.Profile, error)
func (*MilpacsService) GetRoster ¶
func (server *MilpacsService) GetRoster(ctx context.Context, request *proto.RosterRequest) (*proto.Roster, error)
func (*MilpacsService) GetUserViaKeycloakId ¶
func (server *MilpacsService) GetUserViaKeycloakId(ctx context.Context, request *proto.KeycloakIdRequest) (*proto.Profile, error)
Click to show internal directories.
Click to hide internal directories.