server

package
v0.0.0-...-532179e Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeBotOpsClientset

type DeBotOpsClientset struct {
	Listener dynamic.NamespaceableResourceInterface
}

func NewDeBotOpsClientset

func NewDeBotOpsClientset() (*DeBotOpsClientset, error)

type LoginRequest

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type Response

type Response struct {
	Status Status      `json:"status"`
	Data   interface{} `json:"data"`
}

type Server

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

func NewServer

func NewServer() (*Server, error)

func (*Server) Start

func (server *Server) Start()

type Status

type Status string
const (
	StatusOK    Status = "OK"
	StatusError Status = "ERROR"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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