server

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
	ID            int    `json:"id"`
	CreatedAt     int    `json:"createdAt"`
	UpdatedAt     int    `json:"updatedAt"`
	AppName       string `json:"appName"`
	ClusterName   string `json:"clusterName"`
	NamespaceName string `json:"namespaceName"`
	Format        string `json:"format"`
	Value         string `json:"value"`
	Released      bool   `json:"released"`
	EditValue     string `json:"editValue"`
	Description   string `json:"description"`
}

type Server

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

func New

func New(basePath string, hostURL, appName, clusterName string) *Server

func (*Server) AppName

func (s *Server) AppName() string

func (*Server) ClusterName

func (s *Server) ClusterName() string

func (*Server) Dir

func (s *Server) Dir() string

func (*Server) HostURL

func (s *Server) HostURL() string

func (*Server) Init

func (s *Server) Init() error

func (*Server) Reload added in v0.2.0

func (s *Server) Reload() error

func (*Server) Run

func (s *Server) Run()

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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