github.com/moleculer-go/moleculer@v0.3.3/service/.snapshots/service-glob--func17-12 (about)

     1  (moleculer.ServiceSchema) {
     2    Name: (string) (len=5) "earth",
     3    Version: (string) (len=3) "0.2",
     4    Dependencies: ([]string) {
     5    },
     6    Settings: (map[string]interface {}) (len=2) {
     7      (string) (len=10) "dinosauros": (bool) true,
     8      (string) (len=7) "craters": (bool) true
     9    },
    10    Metadata: (map[string]interface {}) (len=2) {
    11      (string) (len=10) "resolution": (string) (len=4) "high",
    12      (string) (len=11) "star-system": (string) (len=3) "sun"
    13    },
    14    Hooks: (map[string]interface {}) (len=2) {
    15      (string) (len=12) "solar-system": (string) (len=4) "true",
    16      (string) (len=5) "earth": (string) (len=4) "true"
    17    },
    18    Mixins: ([]moleculer.Mixin) (len=1) {
    19      (moleculer.Mixin) {
    20        Name: (string) (len=4) "moon",
    21        Dependencies: ([]string) <nil>,
    22        Settings: (map[string]interface {}) (len=1) {
    23          (string) (len=7) "craters": (bool) true
    24        },
    25        Metadata: (map[string]interface {}) (len=1) {
    26          (string) (len=10) "resolution": (string) (len=4) "high"
    27        },
    28        Hooks: (map[string]interface {}) (len=1) {
    29          (string) (len=5) "earth": (string) (len=4) "true"
    30        },
    31        Actions: ([]moleculer.Action) (len=1) {
    32          (moleculer.Action) {
    33            Name: (string) (len=4) "tide",
    34            Handler: (moleculer.ActionHandler) <moleculer.ActionHandler Value>,
    35            Schema: (moleculer.ActionSchema) <nil>,
    36            Settings: (map[string]interface {}) <nil>,
    37            Description: (string) ""
    38          }
    39        },
    40        Events: ([]moleculer.Event) (len=2) {
    41          (moleculer.Event) {
    42            Name: (string) (len=12) "moon.isClose",
    43            Group: (string) "",
    44            Handler: (moleculer.EventHandler) <moleculer.EventHandler Value>
    45          },
    46          (moleculer.Event) {
    47            Name: (string) (len=13) "earth.rotates",
    48            Group: (string) "",
    49            Handler: (moleculer.EventHandler) <moleculer.EventHandler Value>
    50          }
    51        },
    52        Created: (moleculer.CreatedFunc) <moleculer.CreatedFunc Value>,
    53        Started: (moleculer.LifecycleFunc) <moleculer.LifecycleFunc Value>,
    54        Stopped: (moleculer.LifecycleFunc) <moleculer.LifecycleFunc Value>
    55      }
    56    },
    57    Actions: ([]moleculer.Action) (len=2) {
    58      (moleculer.Action) {
    59        Name: (string) (len=4) "tide",
    60        Handler: (moleculer.ActionHandler) <moleculer.ActionHandler Value>,
    61        Schema: (moleculer.ActionSchema) <nil>,
    62        Settings: (map[string]interface {}) <nil>,
    63        Description: (string) ""
    64      },
    65      (moleculer.Action) {
    66        Name: (string) (len=6) "rotate",
    67        Handler: (moleculer.ActionHandler) <moleculer.ActionHandler Value>,
    68        Schema: (moleculer.ActionSchema) <nil>,
    69        Settings: (map[string]interface {}) <nil>,
    70        Description: (string) ""
    71      }
    72    },
    73    Events: ([]moleculer.Event) (len=2) {
    74      (moleculer.Event) {
    75        Name: (string) (len=12) "moon.isClose",
    76        Group: (string) "",
    77        Handler: (moleculer.EventHandler) <moleculer.EventHandler Value>
    78      },
    79      (moleculer.Event) {
    80        Name: (string) (len=13) "earth.rotates",
    81        Group: (string) "",
    82        Handler: (moleculer.EventHandler) <moleculer.EventHandler Value>
    83      }
    84    },
    85    Created: (moleculer.CreatedFunc) <moleculer.CreatedFunc Value>,
    86    Started: (moleculer.LifecycleFunc) <moleculer.LifecycleFunc Value>,
    87    Stopped: (moleculer.LifecycleFunc) <moleculer.LifecycleFunc Value>
    88  }