controller

package
v0.0.0-...-a3f9433 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright 2016 Wenhui Shen <www.webx.top>

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 2016 Wenhui Shen <www.webx.top>

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 2016 Wenhui Shen <www.webx.top>

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 2016 Wenhui Shen <www.webx.top>

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 2016 Wenhui Shen <www.webx.top>

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 2016 Wenhui Shen <www.webx.top>

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 2016 Wenhui Shen <www.webx.top>

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 2016 Wenhui Shen <www.webx.top>

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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	*base.Controller
	*dbschema.User
}

func New

func New(c echo.Context) *Base

func (*Base) Before

func (a *Base) Before() error

func (*Base) Init

func (a *Base) Init(c echo.Context) error

type Category

type Category struct {
	*Base
	// contains filtered or unexported fields
}

func (*Category) Add

func (a *Category) Add() error

func (*Category) Delete

func (a *Category) Delete() error

func (*Category) Edit

func (a *Category) Edit() error

func (*Category) Index

func (a *Category) Index() error

func (*Category) Index_HTML

func (a *Category) Index_HTML() error

func (*Category) Init

func (a *Category) Init(c echo.Context) error

type Comment

type Comment struct {
	*Base
	// contains filtered or unexported fields
}

func (*Comment) Add

func (a *Comment) Add() error

func (*Comment) Delete

func (a *Comment) Delete() error

func (*Comment) Edit

func (a *Comment) Edit() error

func (*Comment) Index

func (a *Comment) Index() error

func (*Comment) Index_HTML

func (a *Comment) Index_HTML() error

func (*Comment) Init

func (a *Comment) Init(c echo.Context) error

func (*Comment) View

func (a *Comment) View() error

type Index

type Index struct {
	*Base
	// contains filtered or unexported fields
}

func (*Index) Before

func (a *Index) Before() error

func (*Index) Index

func (a *Index) Index() error

func (*Index) Init

func (a *Index) Init(c echo.Context) error

func (*Index) Version

func (a *Index) Version() error
type Link struct {
	*Base
	// contains filtered or unexported fields
}

func (*Link) Add

func (a *Link) Add() error

func (*Link) Delete

func (a *Link) Delete() error

func (*Link) Edit

func (a *Link) Edit() error

func (*Link) Index

func (a *Link) Index() error

func (*Link) Index_HTML

func (a *Link) Index_HTML() error

func (*Link) Init

func (a *Link) Init(c echo.Context) error

func (*Link) View

func (a *Link) View() error

type Post

type Post struct {
	*Base
	// contains filtered or unexported fields
}

func (*Post) Add

func (a *Post) Add() error

func (*Post) Before

func (a *Post) Before() error

func (*Post) Delete

func (a *Post) Delete() error

func (*Post) Edit

func (a *Post) Edit() error

func (*Post) Index

func (a *Post) Index() error

func (*Post) Index_HTML

func (a *Post) Index_HTML() error

func (*Post) Init

func (a *Post) Init(c echo.Context) error

func (*Post) View

func (a *Post) View() error

type Public

type Public struct {
	*base.Controller
	// contains filtered or unexported fields
}

func (*Public) Init

func (a *Public) Init(c echo.Context) error

func (*Public) Login

func (a *Public) Login() error

func (*Public) Logout

func (a *Public) Logout() error

func (*Public) Register

func (a *Public) Register() error

type Setting

type Setting struct {
	*Base
	// contains filtered or unexported fields
}

func (*Setting) Add

func (a *Setting) Add() error

func (*Setting) Delete

func (a *Setting) Delete() error

func (*Setting) Edit

func (a *Setting) Edit() error

func (*Setting) Index

func (a *Setting) Index() error

func (*Setting) Index_HTML

func (a *Setting) Index_HTML() error

func (*Setting) Init

func (a *Setting) Init(c echo.Context) error

func (*Setting) View

func (a *Setting) View() error

Jump to

Keyboard shortcuts

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