Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthInterceptor ¶
func AuthInterceptor(secret string) grpc.UnaryServerInterceptor
Types ¶
type Handler ¶
type Handler struct {
proto.UnimplementedTmpAccessServer
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(service ports.AccessService) *Handler
func (*Handler) GenerateTmpToken ¶
func (h *Handler) GenerateTmpToken(ctx context.Context, req *proto.GenerateTmpTokenRequest) (*proto.GenerateTmpTokenResponse, error)
Click to show internal directories.
Click to hide internal directories.