requestheader

package

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.

Source Files

Jump to

Keyboard shortcuts

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