accesslog

package
v0.0.0-...-57c2e55 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const LocalVersion = "0.0.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes

type Attributes struct {
	App              []string
	Custom           []string
	RequestHeaders   []string
	ResponseHeaders  []string
	ResponseTrailers []string
	Cookies          []string
}

type CSVAttributes

type CSVAttributes struct {
	App              string
	Custom           string
	RequestHeaders   string
	ResponseHeaders  string
	ResponseTrailers string
	Cookies          string
}

type Configuration

type Configuration struct {
	Version string
	Ingress Attributes
	Egress  Attributes
}

Cofiguration TODO : need to add base attribtues as there is a configuration for each service

func CreateConfiguration

func CreateConfiguration(ingress *CSVAttributes, egress *CSVAttributes) Configuration

type VersionedEntity

type VersionedEntity struct {
	// contains filtered or unexported fields
}

func CreateVersionedEntity

func CreateVersionedEntity() *VersionedEntity

func (*VersionedEntity) GetEntity

func (v *VersionedEntity) GetEntity() Configuration

func (*VersionedEntity) IsEmpty

func (v *VersionedEntity) IsEmpty() bool

func (*VersionedEntity) IsNewVersion

func (v *VersionedEntity) IsNewVersion(version string) bool

func (*VersionedEntity) SetEntity

func (v *VersionedEntity) SetEntity(config *Configuration)

Jump to

Keyboard shortcuts

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