protocol

package
v0.0.0-...-5032473 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applicant

type Applicant struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	Project  string `json:"project"`
	Email    string `json:"email,omitempty"`
	Country  string `json:"country,omitempty"`
	Company  string `json:"company,omitempty"`
	Industry string `json:"industry,omitempty"`
}

type Desired

type Desired struct {
	Operation string `json:"operation"`
	*Resource `json:"resource"`
}

type Job

type Job struct {
	ID         string `json:"id"`
	Version    int    `json:"version"`
	*Applicant `json:"applicant"`
	*Desired   `json:"desired"`
	*Result    `json:"result"`
}

func (*Job) Bytes

func (j *Job) Bytes() []byte

func (*Job) Reset

func (j *Job) Reset()

func (*Job) String

func (j *Job) String() string

type Networks

type Networks struct {
}

type Resource

type Resource struct {
	Type string `json:"type"`
	Name string `json:"name"`
}

type Result

type Result struct {
	Status string `json:"status"`
	Desc   string `json:"desc"`
	Data   []byte `json:"data"`
}

Jump to

Keyboard shortcuts

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