server

package
v0.1.175 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONError

type JSONError struct {
	Message    string              `json:"message"`
	Path       []string            `json:"path"`
	Extensions *JSONErrorExtension `json:"extensions"`
}

type JSONErrorExtension

type JSONErrorExtension struct {
	Code string `json:"code"`
}

type JSONPayload

type JSONPayload struct {
	Data   *map[string]interface{} `json:"data"`
	Errors *[]JSONError            `json:"errors"`
}

type VaultServer

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

func NewServer

func NewServer(resolver generated.ResolverRoot, jwtSecret string) *VaultServer

func (*VaultServer) CreateTestToken

func (v *VaultServer) CreateTestToken(userName, validationKey string) string

func (*VaultServer) Handle

func (v *VaultServer) Handle() http.Handler

Jump to

Keyboard shortcuts

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