server

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogEntry

func GetLogEntry(r *http.Request) logrus.FieldLogger

GetLogEntry will get return the logger off of the http request

func LogEntrySetField

func LogEntrySetField(ctx context.Context, key string, value interface{})

LogEntrySetField will set a new field on a log entry

func LogEntrySetFields

func LogEntrySetFields(ctx context.Context, fields map[string]interface{})

LogEntrySetFields will set a map of key/value pairs on a log entry

func New

func New(
	port uint,
	env skillz.Environment,
	logger *logrus.Logger,
	alliance alliance.API,
	auth auth.API,
	character character.API,
	clones clone.API,
	contacts contact.API,
	corporation corporation.API,
	skills skill.API,
	user user.API,
) *server

Types

This section is empty.

Jump to

Keyboard shortcuts

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