Documentation ¶
Overview ¶
** Copyright [2013-2015] [Megam Systems] ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
** Copyright [2013-2015] [Megam Systems] ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
Index ¶
Constants ¶
const ( HOST = "Host" USERNAME = "Username" PASSWORD = "Password" PLATFORM = "platform" )
const Logo = `` /* 709-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(w *WrappedParms) (*Handler, error)
func (*Handler) SetTemplates ¶
func (h *Handler) SetTemplates(w *WrappedParms)
type WrappedParms ¶
type WrappedParms struct { Packages map[string]string Options map[string]string Maps map[string][]string }
func NewWrap ¶
func NewWrap(c interface{}) *WrappedParms
func (*WrappedParms) Empty ¶
func (w *WrappedParms) Empty() bool
func (*WrappedParms) GetHost ¶
func (w *WrappedParms) GetHost() (string, bool)
func (*WrappedParms) GetPassword ¶
func (w *WrappedParms) GetPassword() (string, bool)
func (*WrappedParms) GetUserName ¶
func (w *WrappedParms) GetUserName() (string, bool)
func (*WrappedParms) IfNoneAddPackages ¶
func (w *WrappedParms) IfNoneAddPackages(p []string)
func (*WrappedParms) String ¶
func (w *WrappedParms) String() string