Documentation ¶
Index ¶
- Constants
- type RunAddressDataBuilder
- func (b *RunAddressDataBuilder) Build() waf.RunAddressData
- func (b *RunAddressDataBuilder) ExtractSchema() *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithClientIP(ip netip.Addr) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithCookies(cookies map[string][]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithDBStatement(statement string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithDBType(driver string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithFilePath(file string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGRPCMethod(method string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGRPCRequestMessage(message any) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGRPCRequestMetadata(metadata map[string][]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGRPCResponseMessage(message any) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGRPCResponseMetadataHeaders(headers map[string][]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGRPCResponseMetadataTrailers(trailers map[string][]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGRPCResponseStatusCode(status int) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithGraphQLResolver(fieldName string, args map[string]any) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithHeadersNoCookies(headers map[string][]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithMethod(method string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithPathParams(params map[string]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithQuery(query map[string][]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithRawURI(uri string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithRequestBody(body any) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithResponseHeadersNoCookies(headers map[string][]string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithResponseStatus(status int) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithURL(url string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithUserID(id string) *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithUserLoginFailure() *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithUserLoginSuccess() *RunAddressDataBuilder
- func (b *RunAddressDataBuilder) WithUserSessionID(id string) *RunAddressDataBuilder
Constants ¶
View Source
const ( ServerRequestMethodAddr = "server.request.method" ServerRequestRawURIAddr = "server.request.uri.raw" ServerRequestHeadersNoCookiesAddr = "server.request.headers.no_cookies" ServerRequestCookiesAddr = "server.request.cookies" ServerRequestQueryAddr = "server.request.query" ServerRequestPathParamsAddr = "server.request.path_params" ServerRequestBodyAddr = "server.request.body" ServerResponseStatusAddr = "server.response.status" ServerResponseHeadersNoCookiesAddr = "server.response.headers.no_cookies" ClientIPAddr = "http.client_ip" UserIDAddr = "usr.id" UserSessionIDAddr = "usr.session_id" UserLoginSuccessAddr = "server.business_logic.users.login.success" UserLoginFailureAddr = "server.business_logic.users.login.failure" ServerIoNetURLAddr = "server.io.net.url" ServerIOFSFileAddr = "server.io.fs.file" ServerDBStatementAddr = "server.db.statement" ServerDBTypeAddr = "server.db.system" GRPCServerMethodAddr = "grpc.server.method" GRPCServerRequestMetadataAddr = "grpc.server.request.metadata" GRPCServerRequestMessageAddr = "grpc.server.request.message" GRPCServerResponseMessageAddr = "grpc.server.response.message" GRPCServerResponseMetadataHeadersAddr = "grpc.server.response.metadata.headers" GRPCServerResponseMetadataTrailersAddr = "grpc.server.response.metadata.trailers" GRPCServerResponseStatusCodeAddr = "grpc.server.response.status" GraphQLServerResolverAddr = "graphql.server.resolver" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunAddressDataBuilder ¶
type RunAddressDataBuilder struct {
waf.RunAddressData
}
func NewAddressesBuilder ¶
func NewAddressesBuilder() *RunAddressDataBuilder
func (*RunAddressDataBuilder) Build ¶
func (b *RunAddressDataBuilder) Build() waf.RunAddressData
func (*RunAddressDataBuilder) ExtractSchema ¶
func (b *RunAddressDataBuilder) ExtractSchema() *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithClientIP ¶
func (b *RunAddressDataBuilder) WithClientIP(ip netip.Addr) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithCookies ¶
func (b *RunAddressDataBuilder) WithCookies(cookies map[string][]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithDBStatement ¶
func (b *RunAddressDataBuilder) WithDBStatement(statement string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithDBType ¶
func (b *RunAddressDataBuilder) WithDBType(driver string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithFilePath ¶
func (b *RunAddressDataBuilder) WithFilePath(file string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGRPCMethod ¶
func (b *RunAddressDataBuilder) WithGRPCMethod(method string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGRPCRequestMessage ¶
func (b *RunAddressDataBuilder) WithGRPCRequestMessage(message any) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGRPCRequestMetadata ¶
func (b *RunAddressDataBuilder) WithGRPCRequestMetadata(metadata map[string][]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGRPCResponseMessage ¶
func (b *RunAddressDataBuilder) WithGRPCResponseMessage(message any) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGRPCResponseMetadataHeaders ¶
func (b *RunAddressDataBuilder) WithGRPCResponseMetadataHeaders(headers map[string][]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGRPCResponseMetadataTrailers ¶
func (b *RunAddressDataBuilder) WithGRPCResponseMetadataTrailers(trailers map[string][]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGRPCResponseStatusCode ¶
func (b *RunAddressDataBuilder) WithGRPCResponseStatusCode(status int) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithGraphQLResolver ¶
func (b *RunAddressDataBuilder) WithGraphQLResolver(fieldName string, args map[string]any) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithHeadersNoCookies ¶
func (b *RunAddressDataBuilder) WithHeadersNoCookies(headers map[string][]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithMethod ¶
func (b *RunAddressDataBuilder) WithMethod(method string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithPathParams ¶
func (b *RunAddressDataBuilder) WithPathParams(params map[string]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithQuery ¶
func (b *RunAddressDataBuilder) WithQuery(query map[string][]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithRawURI ¶
func (b *RunAddressDataBuilder) WithRawURI(uri string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithRequestBody ¶
func (b *RunAddressDataBuilder) WithRequestBody(body any) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithResponseHeadersNoCookies ¶
func (b *RunAddressDataBuilder) WithResponseHeadersNoCookies(headers map[string][]string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithResponseStatus ¶
func (b *RunAddressDataBuilder) WithResponseStatus(status int) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithURL ¶
func (b *RunAddressDataBuilder) WithURL(url string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithUserID ¶
func (b *RunAddressDataBuilder) WithUserID(id string) *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithUserLoginFailure ¶
func (b *RunAddressDataBuilder) WithUserLoginFailure() *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithUserLoginSuccess ¶
func (b *RunAddressDataBuilder) WithUserLoginSuccess() *RunAddressDataBuilder
func (*RunAddressDataBuilder) WithUserSessionID ¶
func (b *RunAddressDataBuilder) WithUserSessionID(id string) *RunAddressDataBuilder
Click to show internal directories.
Click to hide internal directories.