header

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextHeader

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

ContextHeader holds custom request objects to pass down the pipeline.

func NewContextHeader

func NewContextHeader(context context.Context, config config.Config) (*ContextHeader, error)

NewContextHeader creates new instance of the request headers.

func (*ContextHeader) Context

func (h *ContextHeader) Context() context.Context

Context returns context.Context of the request.

func (*ContextHeader) Self

func (h *ContextHeader) Self() *identity.IDConfig

Self returns Self CentID.

Jump to

Keyboard shortcuts

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