Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OpenRTB protocol defintions for Go

License

NotificationsYou must be signed in to change notification settings

bsm/openrtb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

OpenRTB structs and validations for Go.

Requirements

Requires Go 1.8+ for properjson.RawMessage marshaling.

Installation

To install, usego get:

go get github.com/bsm/openrtb/v3

Usage

package mainimport ("log""github.com/bsm/openrtb/v3")funcmain() {file,err:=os.Open("stored.json")iferr!=nil {log.Fatal(err)  }deferfile.Close()varreq*openrtb.BidRequestiferr:=json.NewDecoder(file).Decode(&req);err!=nil {log.Fatal(err)  }log.Printf("%+v\n",req)}

About

OpenRTB protocol defintions for Go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors26


[8]ページ先頭

©2009-2025 Movatter.jp