data

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Error404 .
	Error404 = &Error{
		Main: Main{
			PageTitle: "Error 404",
		},
		Code:    404,
		Message: "Oooops !",
		Details: "Page not found.",
	}

	// Error405 .
	Error405 = Error{
		Main: Main{
			PageTitle: "Error 405",
		},
		Code:    405,
		Message: "Method not allowed",
		Details: "Method not allowed",
	}

	// Error401 .
	Error401 = &Error{
		Main: Main{
			PageTitle: "Error 401",
		},
		Code:    401,
		Message: "Not too fast !",
		Details: "Unauthorized",
	}

	// Error500 .
	Error500 = &Error{
		Main: Main{
			PageTitle: "Error 500",
		},
		Code:    500,
		Message: "Oooops !",
		Details: "Server error.",
	}

	// Error501 .
	Error501 = &Error{
		Main: Main{
			PageTitle: "Error 500",
		},
		Code:    501,
		Message: "Not implemented",
		Details: "Not implemented",
	}

	// ErrorImAteaPot .
	ErrorImAteaPot = &Error{
		Main: Main{
			PageTitle: "Error 418",
		},
		Code:    418,
		Message: "Wuuuuttt",
		Details: "Im a tea pot !",
	}

	// ErrorFinalBoss .
	ErrorFinalBoss = &Error{
		Main: Main{
			PageTitle: "Error 418",
		},
		Code:    418,
		Message: "Final boss error",
		Details: "Dont try this at home!",
	}
)
View Source
var (
	// Default .
	Default = &defaultHolder{}
)

Functions

func Gen

func Gen() *genData

Gen erate data Used for inception in debug mode

Types

type ChexrayV2Demo

type ChexrayV2Demo struct {
	Main
	Samples    []Image
	Cxpbatable *[]model.SpecAnalysisPool
}

ChexrayV2Demo data struct

type Dashboard

type Dashboard struct {
	Status      string
	Title       string
	Config      string
	Version     string
	StartupDate string
	Capsules    []*config.ModelConfig
	Storage     []*StorageConfig
}

Dashboard .

type Error

type Error struct {
	Main
	Code    int
	Message string
	Errors  string
	Details string
}

Error .

type Image

type Image struct {
	Filename    string
	Name        string
	Format      string
	Description string
}

Image struct

type InceptionDemo

type InceptionDemo struct {
	Main
	Samples []Image
}

InceptionDemo data struct

type Main

type Main struct {
	Version   string
	PageTitle string
}

Main .

type MuraV2Demo

type MuraV2Demo struct {
	Main
	Samples []Image
}

MuraV2Demo data struct

type Slide

type Slide struct {
	Title string
}

type StorageConfig

type StorageConfig struct {
	Name    string `json:"name"`
	Address string `json:"address"`
}

StorageConfig .

Jump to

Keyboard shortcuts

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