service

package
v0.0.0-...-df6c08f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2015 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Title      string               `json:"Title"`
	Domain     string               `json:"Domain"`
	Version    string               `json:"Version"`
	Type       string               `json:"Type"`
	Private    bool                 `json:"Private"`
	Requires   []Service            `json:"Requires,omitempty"`
	Parameters parameter.Parameters `json:"Parameters"`
	Method     string               `json:"Method"`
}

Service definition

var DefaultService *Service

func New

func New() *Service

Get a new Service and set the default Handler to the DefaultServerMux

func (*Service) Init

func (s *Service) Init()

func (*Service) Marshal

func (s *Service) Marshal()

func (*Service) MarshalF

func (s *Service) MarshalF(file string)

func (*Service) ValidParameters

func (s *Service) ValidParameters(r *http.Request) bool

Jump to

Keyboard shortcuts

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