Documentation
¶
Index ¶
- Constants
- Variables
- func FuzzParamsToGRPCFuzzableParam(r *mutate.FuzzHTTPRequestParam, isHttps bool) *ypb.FuzzableParam
- func GetProjectById(db *gorm.DB, id int64, Type string) (*schema.Project, error)
- func SetHTTPFlowCacheGRPCModel(f *schema.HTTPFlow, full bool, m *ypb.HTTPFlow)
- func ToHTTPFlowGRPCModel(f *schema.HTTPFlow, full bool) (*ypb.HTTPFlow, error)
- func ToHTTPFlowGRPCModelFull(f *schema.HTTPFlow) (*ypb.HTTPFlow, error)
- func ToProjectGRPCModel(p *schema.Project, db *gorm.DB) *ypb.ProjectDescription
Constants ¶
View Source
const (
TypeFile = "file" // same as common/yakgrpc/yakit/projects.go
)
Variables ¶
View Source
var (
GlobalHTTPFlowCache = utils.NewTTLCache[*ypb.HTTPFlow](10 * time.Minute)
)
Functions ¶
func FuzzParamsToGRPCFuzzableParam ¶
func FuzzParamsToGRPCFuzzableParam(r *mutate.FuzzHTTPRequestParam, isHttps bool) *ypb.FuzzableParam
func GetProjectById ¶
func ToHTTPFlowGRPCModel ¶
func ToHTTPFlowGRPCModelFull ¶
func ToProjectGRPCModel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.