handler

package
v0.0.0-...-ef3eba0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 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 Dna

type Dna struct{}

func (*Dna) Mutant

func (s *Dna) Mutant(req *restful.Request, rsp *restful.Response)

func (*Dna) Stat

func (s *Dna) Stat(req *restful.Request, rsp *restful.Response)

type StatsResponse

type StatsResponse struct {
	CountMutantDna int64   `json:"count_mutant_dna"`
	CountHumanDna  int64   `json:"count_human_dna"`
	Ratio          float32 `json:"ratio,omitempty"`
}

Jump to

Keyboard shortcuts

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