actor

package
v0.0.0-...-52f9a01 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actor

type Actor struct {
	ID        bson.ObjectId `bson:"_id,omitempty" json:"_id"`
	BirthDate time.Time     `json:"birthDate"`
	Name      string        `json:"name"`
	Surname   string        `json:"surname"`
}

Data model

type Config

type Config struct {
	*config.Config
}

func New

func New(configuration *config.Config) *Config

func (*Config) Routes

func (config *Config) Routes() *chi.Mux

Routes

Jump to

Keyboard shortcuts

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