Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCert ¶
func GetX509KeyPair ¶
func GetX509KeyPair(certPath, keyPath string) (*x509.Certificate, crypto.PrivateKey, error)
func ServeProxy ¶
Types ¶
type ScfModifier ¶
type ScfModifier struct {
// contains filtered or unexported fields
}
func NewScfModifier ¶
func NewScfModifier(apis []string) (*ScfModifier, error)
func (*ScfModifier) ModifyRequest ¶
func (m *ScfModifier) ModifyRequest(req *http.Request) error
func (*ScfModifier) ModifyResponse ¶
func (m *ScfModifier) ModifyResponse(res *http.Response) error
Click to show internal directories.
Click to hide internal directories.