Util
This package utils in go-restful apps.
Usage
Importing
import "github.com/AccelByte/go-restful-plugins/v3/pkg/util"
ExtractDefault is default function for extracting attribute for filter event logger
ws := new(restful.WebService)
ws.Filter(event.Log("realm", "serviceName", util.ExtractDefault))