common

package
v0.0.121 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Response

func Response(status int, explanation string, err error, data []byte) contracts.Response

Types

type Request

type Request struct {
	Definition *definitions.Definition
	Kind       string
	Error      error
}

func NewRequest

func NewRequest(kind string) (*Request, error)

func (*Request) Apply

func (request *Request) Apply(client *client.Http, user *authentication.User) error

func (*Request) Delete

func (request *Request) Delete(client *client.Http, user *authentication.User) error

Jump to

Keyboard shortcuts

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