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
}
Speedle grpc server supports authorization template.
func NewGrpcServer ¶
func NewGrpcServer(addr string) (*GrpcServer, error)
NewGrpcServer creates a new speedle grpc server from given args.
func (*GrpcServer) Addr ¶
func (s *GrpcServer) Addr() string
Addr returns the listening address of the server
func (*GrpcServer) Close ¶
func (s *GrpcServer) Close() error
Close gracefully shuts down the server
func (*GrpcServer) HandleAuthorization ¶
func (s *GrpcServer) HandleAuthorization(ctx context.Context, r *authorization.HandleAuthorizationRequest) (*adptModel.CheckResult, error)
Click to show internal directories.
Click to hide internal directories.