types

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonResponse

type JsonResponse struct {
	Error string      `json:"error,omitempty"`
	Data  interface{} `json:"data,omitempty"`
}

type VersionJson

type VersionJson struct {
	Version string `json:"binary_version"`
	Sha256  string `json:"binary_sha256"`
}

type YamlConfig

type YamlConfig struct {
	Workspaces []YamlWorkspace `yaml:"workspaces"`
}

Struct to unmarshal the yaml config file used by the service at start time

type YamlWorkspace

type YamlWorkspace struct {
	Id     string `yaml:"id"`
	Name   string `yaml:"name"`
	Secret string `yaml:"secret"`
}

Struct to unmarshal the workspaces of the yaml config file

Jump to

Keyboard shortcuts

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