github.com/TeaOSLab/EdgeNode@v1.3.8/internal/nodes/http_request_ln.go (about)

     1  // Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
     2  //go:build !plus
     3  // +build !plus
     4  
     5  package nodes
     6  
     7  import (
     8  	"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs"
     9  )
    10  
    11  const (
    12  	LNExpiresHeader = "X-Edge-Ln-Expires"
    13  )
    14  
    15  func existsLnNodeIP(nodeIP string) bool {
    16  	return false
    17  }
    18  
    19  func (this *HTTPRequest) checkLnRequest() bool {
    20  	return false
    21  }
    22  
    23  func (this *HTTPRequest) getLnOrigin(excludingNodeIds []int64, urlHash uint64) (originConfig *serverconfigs.OriginConfig, lnNodeId int64, hasMultipleNodes bool) {
    24  	return nil, 0, false
    25  }