terms

package
v0.0.0-...-a915469 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module contains the terms module for the web server. Implements web.Module.

func New

func New(_ context.Context, logicMod logic.Logic) (*Module, error)

New returns a new webapp module.

func (*Module) Name

func (*Module) Name() string

Name return the module name.

func (*Module) Route

func (m *Module) Route(s *gdhttp.Server) error

Route attaches routes to the web server.

func (*Module) TermsGetHandler

func (m *Module) TermsGetHandler(w http.ResponseWriter, r *http.Request)

TermsGetHandler returns the terms.

func (*Module) TermsPostHandler

func (m *Module) TermsPostHandler(w http.ResponseWriter, r *http.Request)

TermsPostHandler .

Jump to

Keyboard shortcuts

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