serve

package
v0.0.0-...-2f69930 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	base.Config
	UserConfig
}

type Service

type Service struct {
	*Config
	*base.Service
}

func NewService

func NewService(c *Config, s *base.Service) *Service

func (*Service) GetUserID

func (self *Service) GetUserID(r *http.Request) primitive.ObjectID

type UserConfig

type UserConfig struct {
	WebRouter         bool   `json:"web_router"`
	WebRouterRootPath string `json:"web_router_root_path"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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