File: bucket.go

package info (click to toggle)
golang-github-jacobsa-oglemock 0.0~git20150831.e94d794-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: makefile: 4
file content (23 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package gcs

import "golang.org/x/net/context"

type Bucket interface {
	Name() string
	CreateObject(context.Context, *CreateObjectRequest) (*Object, error)
	CopyObject(ctx context.Context, req *CopyObjectRequest) (o *Object, err error)
}

type Object struct {
}

type CreateObjectRequest struct {
}

type CopyObjectRequest struct {
}

type Int int
type Array []int
type Chan <-chan int
type Ptr *int