addresses

package
v2.0.0-beta.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 (*RunAddressDataBuilder) ExtractSchema

func (b *RunAddressDataBuilder) ExtractSchema() *RunAddressDataBuilder

func (*RunAddressDataBuilder) WithClientIP

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 (*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 (*RunAddressDataBuilder) WithUserID

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL