requestheader

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "gateway.tkestack.io"

GroupName is the api group name for gateway.

View Source
const Version = "v1"

Version is the api version for gateway.

Variables

This section is empty.

Functions

func RegisterTokenRoute

func RegisterTokenRoute(container *restful.Container)

Types

type UserInfo

type UserInfo struct {
	Name   string              `json:"name"`
	UID    string              `json:"uid"`
	Groups []string            `json:"groups"`
	Extra  map[string][]string `json:"extra"`
}

UserInfo defines a data structure containing user information.

Jump to

Keyboard shortcuts

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