GithubHelp home page GithubHelp logo

accounts-server's Introduction

Accounts API Server

UsagiBooruアカウント関連API
(開発中)
Go Report Card DeepSource codecov circleCI FOSSA Status

Powered by openapi-generator

  • API version: 2.0
  • Build date: 2021-05-03T15:12:54.169+09:00[Asia/Tokyo]

This server was generated by the openapi-generator project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. For more information, please ask to https://twitter.com/shallow_omado or visit here

Running the server

To run the server, follow these simple steps:

go run main.go

To run the server in a docker container

docker build --network=host -t gen .

Once image is built use

docker run --rm -it gen

License

FOSSA Status

accounts-server's People

Contributors

deepsourcebot avatar dosugamea avatar fossabot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

accounts-server's Issues

(GO-S0904) Detected possible usage of Logger for user defined data

Description

Detects possible usage of Logger for user defined data that could break log pattern. <!--more--> Detects usage of methods from the packages "log" and "go.uber.org/zap" where the arguments could be tainted and untrusted. Audit the arguments of the logger for user defined input(s) to prevent attacks. ## Examples ### Bad …

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/UsagiBooru/accounts-server/issue/GO-S0904/occurrences/

(CRT-D0011) Calls to `exit`/`fatal` made in function using `defer`

Description

In these cases, in case of failure, defer never gets called. Example: go defer os.Remove(filename) if bad { log.Fatalf(&quot;something bad happened&quot;) } should be written as: go defer os.Remove(filename) if bad { log.Printf(&quot;something bad happened&quot;) return }

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/UsagiBooru/accounts-server/issue/CRT-D0011/occurrences/

(GSC-G404) Audit the random number generation source (rand)

Description

math/rand is much faster for applications that don’t need crypto-level or security-related random data generation. crypto/rand is suited for secure and crypto-ready usage, but it’s slower. It is highly recommended to use crypto/rand when needing to be secure with random numbers such as generating session ID in a web application. …

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/UsagiBooru/accounts-server/issue/GSC-G404/occurrences/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.